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:
7674b9d
)
Silence a warning. Should we turn this into configure-time check?
author
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 22 Jan 2008 11:01:23 +0000
(11:01 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 22 Jan 2008 11:01:23 +0000
(11:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46251
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 e5ac201c346ee9e10f33d2036021e7aabcddc462..1497dd61edee9a3e0d1b9fb88fcf451a402925b0 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
+#if
(__GNUC__ >= 4) && !defined(__MINGW32__)
#define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden")))
#else
#define VISIBILITY_HIDDEN