projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d249316
)
Symbol visibility is unsupported on cygwin too.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 31 Oct 2008 18:05:01 +0000
(18:05 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 31 Oct 2008 18:05:01 +0000
(18:05 +0000)
Patch by Jay Foad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58520
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Compiler.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Compiler.h
b/include/llvm/Support/Compiler.h
index 9750579f2c25369522cb42cc751e5e58da1aeb36..7186b22a4038e6c1c5129329e2d346d1d58dfc62 100644
(file)
--- a/
include/llvm/Support/Compiler.h
+++ b/
include/llvm/Support/Compiler.h
@@
-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