waitForReturnCapability: fix logic bug
[ghc-hetmet.git] / rts / sm / GCThread.h
index f91092b..44ea537 100644 (file)
  *
  * ---------------------------------------------------------------------------*/
 
-#ifndef GCTHREAD_H
-#define GCTHREAD_H
+#ifndef SM_GCTHREAD_H
+#define SM_GCTHREAD_H
 
-#include "OSThreads.h"
 #include "WSDeque.h"
 
+#pragma GCC visibility push(hidden)
+
 /* -----------------------------------------------------------------------------
    General scheme
    
@@ -271,5 +272,7 @@ extern StgWord8 the_gc_thread[];
 
 #endif
 
-#endif // GCTHREAD_H
+#pragma GCC visibility pop
+
+#endif // SM_GCTHREAD_H