projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add comment: __thread is not supported by gcc on OS X yet
[ghc-hetmet.git]
/
rts
/
Capability.h
diff --git
a/rts/Capability.h
b/rts/Capability.h
index
6fdc002
..
3f01bf3
100644
(file)
--- a/
rts/Capability.h
+++ b/
rts/Capability.h
@@
-22,7
+22,7
@@
#include "Task.h"
#include "Sparks.h"
#include "Task.h"
#include "Sparks.h"
-#pragma GCC visibility push(hidden)
+BEGIN_RTS_PRIVATE
struct Capability_ {
// State required by the STG virtual machine when running Haskell
struct Capability_ {
// State required by the STG virtual machine when running Haskell
@@
-332,6
+332,6
@@
contextSwitchCapability (Capability *cap)
cap->context_switch = 1;
}
cap->context_switch = 1;
}
-#pragma GCC visibility pop
+END_RTS_PRIVATE
#endif /* CAPABILITY_H */
#endif /* CAPABILITY_H */