mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 07:33:23 +00:00
Symbol visibility is unsupported on cygwin too.
Patch by Jay Foad! llvm-svn: 58520
This commit is contained in:
parent
e45fc8e8ce
commit
d47d0bc96c
@ -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
Block a user