diff options
Diffstat (limited to 'rts/RaiseAsync.h')
-rw-r--r-- | rts/RaiseAsync.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rts/RaiseAsync.h b/rts/RaiseAsync.h index 52a0aa4bf0..96eb96e10b 100644 --- a/rts/RaiseAsync.h +++ b/rts/RaiseAsync.h @@ -9,12 +9,13 @@ #ifndef RAISEASYNC_H #define RAISEASYNC_H -#pragma GCC visibility push(hidden) - #define THROWTO_SUCCESS 0 #define THROWTO_BLOCKED 1 #ifndef CMINUSMINUS + +BEGIN_RTS_PRIVATE + void throwToSingleThreaded (Capability *cap, StgTSO *tso, StgClosure *exception); @@ -66,9 +67,9 @@ interruptible(StgTSO *t) } } -#endif /* CMINUSMINUS */ +END_RTS_PRIVATE -#pragma GCC visibility pop +#endif /* CMINUSMINUS */ #endif /* RAISEASYNC_H */ |