summaryrefslogtreecommitdiff
path: root/rts/HeapStackCheck.cmm
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-09-04 14:28:53 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-09-04 14:28:53 +0000
commit0981e24e9980b8b26e6f20fc56bebc1c7416cc4f (patch)
tree32e71877b4ce56a24e1ade784f1ebcbd9c436822 /rts/HeapStackCheck.cmm
parent0f8ecdcd05627848c9eaea6c9d5e88e10e7ec78d (diff)
downloadhaskell-0981e24e9980b8b26e6f20fc56bebc1c7416cc4f.tar.gz
put the @N suffix on stdcall foreign calls in .cmm code
This applies to EnterCriticalSection and LeaveCriticalSection in the RTS
Diffstat (limited to 'rts/HeapStackCheck.cmm')
-rw-r--r--rts/HeapStackCheck.cmm2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm
index 753e6718e7..11af7c7073 100644
--- a/rts/HeapStackCheck.cmm
+++ b/rts/HeapStackCheck.cmm
@@ -13,6 +13,8 @@
#include "Cmm.h"
#ifdef __PIC__
+import EnterCriticalSection
+import LeaveCriticalSection
import pthread_mutex_unlock;
#endif