summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-10-31 18:05:01 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-10-31 18:05:01 +0000
commit21c9705264dc0b9d503f1f3cf6bc3636836b0be4 (patch)
treeed0b8c8ef23eae47c14948a63d3c87ed144d5edf /llvm
parent38cbc4ba202c05556d13734f43c5d3cf26f86fe8 (diff)
downloadbcm5719-llvm-21c9705264dc0b9d503f1f3cf6bc3636836b0be4.tar.gz
bcm5719-llvm-21c9705264dc0b9d503f1f3cf6bc3636836b0be4.zip
Symbol visibility is unsupported on cygwin too.
Patch by Jay Foad! llvm-svn: 58520
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index 9750579f2c2..7186b22a403 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/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
OpenPOWER on IntegriCloud