summaryrefslogtreecommitdiff
path: root/rts/EndPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/EndPrivate.h')
-rw-r--r--rts/EndPrivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/EndPrivate.h b/rts/EndPrivate.h
index f0080beee5..4cfb68f0ba 100644
--- a/rts/EndPrivate.h
+++ b/rts/EndPrivate.h
@@ -1,3 +1,3 @@
-#if __GNUC__ >= 4 && !defined(freebsd_HOST_OS) && !defined(mingw32_HOST_OS)
+#if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS)
#pragma GCC visibility pop
#endif