From 9a9803e8dc80ba41bd3e2d31228e64fa6b61060e Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 9 Sep 2009 09:32:17 +0000 Subject: Omit visibility pragmas on Windows (fixes warnings/validate failures) --- rts/posix/Signals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rts/posix/Signals.h') diff --git a/rts/posix/Signals.h b/rts/posix/Signals.h index 30bc63ee46..4d0a5a5fc7 100644 --- a/rts/posix/Signals.h +++ b/rts/posix/Signals.h @@ -13,7 +13,7 @@ # include #endif -#pragma GCC visibility push(hidden) +BEGIN_RTS_PRIVATE rtsBool anyUserHandlers(void); @@ -26,7 +26,7 @@ void startSignalHandlers(Capability *cap); extern StgInt *signal_handlers; -#pragma GCC visibility pop +END_RTS_PRIVATE #endif /* POSIX_SIGNALS_H */ -- cgit v1.2.1