aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commit70c8650de0ee3033187561a3f2e8f1f706ec50c6 (patch)
tree7f1fdfaddcf4f8e194f864efa8fbeb29a1230173 /include/llvm
parent7674b9d2970fc38358c5666fce57d84c5700c69e (diff)
downloadexternal_llvm-70c8650de0ee3033187561a3f2e8f1f706ec50c6.zip
external_llvm-70c8650de0ee3033187561a3f2e8f1f706ec50c6.tar.gz
external_llvm-70c8650de0ee3033187561a3f2e8f1f706ec50c6.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/llvm')
-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