#if defined(THREADED_RTS)
#include "OSThreads.h"
#include "RtsUtils.h"
+#include <windows.h>
/* For reasons not yet clear, the entire contents of process.h is protected
* by __STRICT_ANSI__ not being defined.
(unsigned*)&pId) == 0);
}
+void CCallEnterCriticalSection(LPCRITICAL_SECTION s) {
+ EnterCriticalSection(s);
+}
+
+void CCallLeaveCriticalSection(LPCRITICAL_SECTION s) {
+ LeaveCriticalSection(s);
+}
+
#else /* !defined(THREADED_RTS) */
int