Symbol visibility is unsupported on cygwin too.

Patch by Jay Foad!

llvm-svn: 58520
This commit is contained in:
Anton Korobeynikov 2008-10-31 18:05:01 +00:00
parent e45fc8e8ce
commit d47d0bc96c

View File

@ -17,7 +17,7 @@
// The VISIBILITY_HIDDEN macro, used for marking classes with the GCC-specific
// visibility("hidden") attribute.
#if (__GNUC__ >= 4) && !defined(__MINGW32__)
#if (__GNUC__ >= 4) && !defined(__MINGW32__) && !defined(__CYGWIN__)
#define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden")))
#else
#define VISIBILITY_HIDDEN