summaryrefslogtreecommitdiff
path: root/includes/Rts.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-11-23 17:05:41 +0000
committerIan Lynagh <igloo@earth.li>2010-11-23 17:05:41 +0000
commitb6fff39114fee90b806ed2e29cc8f5d9728d85a8 (patch)
tree92f4f95006b3c9ab13048031c5b2a135efa2236a /includes/Rts.h
parent7267a7862cc406e593c89e79a4d5ab064ac40120 (diff)
downloadhaskell-b6fff39114fee90b806ed2e29cc8f5d9728d85a8.tar.gz
Add a configure test for the visibility hidden attribute
Diffstat (limited to 'includes/Rts.h')
-rw-r--r--includes/Rts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Rts.h b/includes/Rts.h
index 394eb9710f..51351fab0d 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -51,7 +51,7 @@ extern "C" {
// Symbols that are extern, but private to the RTS, are declared
// with visibility "hidden" to hide them outside the RTS shared
// library.
-#if !defined(mingw32_HOST_OS)
+#if defined(HAS_VISIBILITY_HIDDEN)
#define RTS_PRIVATE GNUC3_ATTRIBUTE(visibility("hidden"))
#else
#define RTS_PRIVATE /* disabled: RTS_PRIVATE */