X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRts.h;h=51351fab0d595717926f0fb020ccfd97ce7bdd46;hb=34c8d0312071f7d0f4d221a997d3408c653ef9e5;hp=394eb9710fd3bd30d98f171c1283442b9dc2f7ac;hpb=51b85031ce99f1e9d4c72249d6d85672188f0fbd;p=ghc-hetmet.git diff --git a/includes/Rts.h b/includes/Rts.h index 394eb97..51351fa 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 */