diff options
author | Ian Lynagh <igloo@earth.li> | 2010-11-23 17:05:41 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-11-23 17:05:41 +0000 |
commit | b6fff39114fee90b806ed2e29cc8f5d9728d85a8 (patch) | |
tree | 92f4f95006b3c9ab13048031c5b2a135efa2236a /rts/EndPrivate.h | |
parent | 7267a7862cc406e593c89e79a4d5ab064ac40120 (diff) | |
download | haskell-b6fff39114fee90b806ed2e29cc8f5d9728d85a8.tar.gz |
Add a configure test for the visibility hidden attribute
Diffstat (limited to 'rts/EndPrivate.h')
-rw-r--r-- | rts/EndPrivate.h | 2 |
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 |