From 70c8650de0ee3033187561a3f2e8f1f706ec50c6 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 22 Jan 2008 11:01:23 +0000 Subject: [PATCH] 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 --- include/llvm/Support/Compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index e5ac201c346..1497dd61ede 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