BeginPrivate.h 508 Bytes
Newer Older
1
2
3
4
/* 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. */
Ian Lynagh's avatar
Ian Lynagh committed
5
6
7
8
/* On Windows, with gcc 4.5.0-1, using visibility hidden gives:
       error: visibility attribute not supported in this configuration; ignored
   */
#if __GNUC__ >= 4 && !defined(freebsd_HOST_OS) && !defined(mingw32_HOST_OS)
9
10
#pragma GCC visibility push(hidden)
#endif