mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Symbol visibility is unsupported on cygwin too.
Patch by Jay Foad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d24931632b
commit
476527a19d
@ -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…
x
Reference in New Issue
Block a user