summary refs log tree commit diff stats
path: root/lib/system/syslocks.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-07-10 15:48:13 +0200
committerAraq <rumpf_a@web.de>2011-07-10 15:48:13 +0200
commit5b96eaa9533e877b5b7f2c6bf1e291ccdfdfecef (patch)
treef58b139b00b6af984f716164c7a3d72761df514d /lib/system/syslocks.nim
parent2565ff8ddec9fcf43fbda2fae6f04806c1bc6e8a (diff)
downloadNim-5b96eaa9533e877b5b7f2c6bf1e291ccdfdfecef.tar.gz
preparations for 0.8.12
Diffstat (limited to 'lib/system/syslocks.nim')
-rwxr-xr-x[-rw-r--r--]lib/system/syslocks.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/syslocks.nim b/lib/system/syslocks.nim
index c91e83dcd..17327bb59 100644..100755
--- a/lib/system/syslocks.nim
+++ b/lib/system/syslocks.nim
@@ -47,7 +47,7 @@ when defined(Windows):
   proc CreateEvent(lpEventAttributes: pointer, 
                    bManualReset, bInitialState: int32,
                    lpName: cstring): TSysCond {.stdcall, noSideEffect,
-    dynlib: "kernel32", importc: "CreateEvent".}
+    dynlib: "kernel32", importc: "CreateEventA".}
   
   proc CloseHandle(hObject: THandle) {.stdcall, noSideEffect,
     dynlib: "kernel32", importc: "CloseHandle".}