mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 09:01:37 +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
|
// The VISIBILITY_HIDDEN macro, used for marking classes with the GCC-specific
|
||||||
// visibility("hidden") attribute.
|
// visibility("hidden") attribute.
|
||||||
#if (__GNUC__ >= 4) && !defined(__MINGW32__)
|
#if (__GNUC__ >= 4) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||||
#define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden")))
|
#define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
#else
|
#else
|
||||||
#define VISIBILITY_HIDDEN
|
#define VISIBILITY_HIDDEN
|
||||||
|
Loading…
Reference in New Issue
Block a user