fix haddock submodule pointer
[ghc-hetmet.git] / rts / BeginPrivate.h
1 /* We don't use symbol visibility pragmas on FreeBSD, because it causes
2    "undefined reference" errors at link-time.  The true reasons are
3    unknown, however FreeBSD 8.x includes GCC 4.2.1 in the base system,
4    which might be buggy. */
5 /* On Windows, with gcc 4.5.0-1, using visibility hidden gives:
6        error: visibility attribute not supported in this configuration; ignored
7    */
8 #if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS)
9 #pragma GCC visibility push(hidden)
10 #endif