Commit 2a01dd4c authored by Simon Marlow's avatar Simon Marlow

{Enter,Leave}CriticalSection imports should be outside #ifdef __PIC__

parent 272f0ba8
......@@ -13,10 +13,10 @@
#include "Cmm.h"
#ifdef __PIC__
import EnterCriticalSection;
import LeaveCriticalSection;
import pthread_mutex_unlock;
#endif
import EnterCriticalSection;
import LeaveCriticalSection;
/* Stack/Heap Check Failure
* ------------------------
......
......@@ -47,9 +47,9 @@ import __gmpz_com;
import base_GHCziIOBase_NestedAtomically_closure;
import pthread_mutex_lock;
import pthread_mutex_unlock;
#endif
import EnterCriticalSection;
import LeaveCriticalSection;
#endif
/*-----------------------------------------------------------------------------
Array Primitives
......
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment