X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FBeginPrivate.h;h=6471b92a407638f69c02d4cb302c401558e678a2;hb=fff1f6194c3c39de53cd645bda9865fb131b1c68;hp=6a7ca5fb8fa146e9823dde7265eed789335f1a84;hpb=a96a75363ddcafadde65b294aa7c1275d48dd463;p=ghc-hetmet.git diff --git a/rts/BeginPrivate.h b/rts/BeginPrivate.h index 6a7ca5f..6471b92 100644 --- a/rts/BeginPrivate.h +++ b/rts/BeginPrivate.h @@ -5,6 +5,6 @@ /* On Windows, with gcc 4.5.0-1, using visibility hidden gives: error: visibility attribute not supported in this configuration; ignored */ -#if __GNUC__ >= 4 && !defined(freebsd_HOST_OS) && !defined(mingw32_HOST_OS) +#if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS) #pragma GCC visibility push(hidden) #endif