diff options
author | Clemens Fruhwirth <clemens@endorphin.org> | 2007-08-10 15:10:45 +0000 |
---|---|---|
committer | Clemens Fruhwirth <clemens@endorphin.org> | 2007-08-10 15:10:45 +0000 |
commit | 4d93c987a690eda8fbd9d2e4c7b103005dd8836a (patch) | |
tree | ea4d487e85a7c5d69d58bb7a9d4cb6ac6519f6f3 /rts/HeapStackCheck.cmm | |
parent | 82f8341d3d87d9127c968baa9c3376e3f26caa81 (diff) | |
download | haskell-4d93c987a690eda8fbd9d2e4c7b103005dd8836a.tar.gz |
Properly guard imports because they have to be precise on Windows and Darwin sets __PIC__ automatically
Diffstat (limited to 'rts/HeapStackCheck.cmm')
-rw-r--r-- | rts/HeapStackCheck.cmm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm index a42ba8faa6..a4fb5c0a16 100644 --- a/rts/HeapStackCheck.cmm +++ b/rts/HeapStackCheck.cmm @@ -12,7 +12,9 @@ #include "Cmm.h" +#ifdef __PIC__ import pthread_mutex_unlock; +#endif /* Stack/Heap Check Failure * ------------------------ |