aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-01-22 11:01:23 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-01-22 11:01:23 +0000
commit68aabff7fa1228c220cd7f42e8aa74a8ae05cc4e (patch)
tree7f1fdfaddcf4f8e194f864efa8fbeb29a1230173 /include
parentf5258b39b4097e87ca457a1067cdfc8e5ece7484 (diff)
downloadexternal_llvm-68aabff7fa1228c220cd7f42e8aa74a8ae05cc4e.zip
external_llvm-68aabff7fa1228c220cd7f42e8aa74a8ae05cc4e.tar.gz
external_llvm-68aabff7fa1228c220cd7f42e8aa74a8ae05cc4e.tar.bz2
Silence a warning. Should we turn this into configure-time check?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h
index e5ac201..1497dd6 100644
--- 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