summaryrefslogtreecommitdiff
path: root/rts/StgMiscClosures.cmm
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-09-05 08:49:41 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-09-05 08:49:41 +0000
commit2a01dd4c7371e4c56cbe1045b7abbee086e72f4a (patch)
tree971db8460ccb99cd6e3336b13fdc27f7c0d84287 /rts/StgMiscClosures.cmm
parent272f0ba89eca1d9fc700cf4c27b9f8c3e23d6fe8 (diff)
downloadhaskell-2a01dd4c7371e4c56cbe1045b7abbee086e72f4a.tar.gz
{Enter,Leave}CriticalSection imports should be outside #ifdef __PIC__
Diffstat (limited to 'rts/StgMiscClosures.cmm')
-rw-r--r--rts/StgMiscClosures.cmm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm
index 88490b8c75..d24eb63d9d 100644
--- a/rts/StgMiscClosures.cmm
+++ b/rts/StgMiscClosures.cmm
@@ -14,11 +14,11 @@
#ifdef __PIC__
import pthread_mutex_lock;
-import EnterCriticalSection;
-import LeaveCriticalSection;
import base_GHCziBase_Czh_static_info;
import base_GHCziBase_Izh_static_info;
#endif
+import EnterCriticalSection;
+import LeaveCriticalSection;
/* ----------------------------------------------------------------------------
Support for the bytecode interpreter.