summaryrefslogtreecommitdiff
path: root/rts/sm/GCThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/GCThread.h')
-rw-r--r--rts/sm/GCThread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h
index 9188a20a9a..44ea537cda 100644
--- a/rts/sm/GCThread.h
+++ b/rts/sm/GCThread.h
@@ -16,6 +16,8 @@
#include "WSDeque.h"
+#pragma GCC visibility push(hidden)
+
/* -----------------------------------------------------------------------------
General scheme
@@ -270,5 +272,7 @@ extern StgWord8 the_gc_thread[];
#endif
+#pragma GCC visibility pop
+
#endif // SM_GCTHREAD_H