Make tidyProgram discard speculative specialisation rules
[ghc.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
11
12 // Local Variables:
13 // mode: C
14 // fill-column: 80
15 // indent-tabs-mode: nil
16 // c-basic-offset: 4
17 // buffer-file-coding-system: utf-8-unix
18 // End: