Forked from
Glasgow Haskell Compiler / GHC
5683 commits behind, 426 commits ahead of the upstream repository.
-
Simon Marlow authored
This reverts commit 39b5c1cb.
Simon Marlow authoredThis reverts commit 39b5c1cb.
BeginPrivate.h 496 B
/* We don't use symbol visibility pragmas on FreeBSD, because it causes
"undefined reference" errors at link-time. The true reasons are
unknown, however FreeBSD 8.x includes GCC 4.2.1 in the base system,
which might be buggy. */
/* On Windows, with gcc 4.5.0-1, using visibility hidden gives:
error: visibility attribute not supported in this configuration; ignored
*/
#if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS)
#pragma GCC visibility push(hidden)
#endif