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 38cbc4ba20
commit 21c9705264
1 changed files with 1 additions and 1 deletions

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