forked from OSchip/llvm-project
Symbol visibility is unsupported on cygwin too.
Patch by Jay Foad! llvm-svn: 58520
This commit is contained in:
parent
38cbc4ba20
commit
21c9705264
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue