summaryrefslogtreecommitdiff
path: root/rts/BeginPrivate.h
blob: f7b7d198f0c0ef16d3b540b1a0608bdc78f0e558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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

// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End: