Skip to content

Commit

Permalink
correct Ptr field name for RTL_CONDITION_VARIABLE? (nim-lang#20896)
Browse files Browse the repository at this point in the history
correct field name for RTL_CONDITION_VARIABLE?

ref nim-lang#20895
  • Loading branch information
metagn authored and survivorm committed Feb 28, 2023
1 parent 36b0cda commit 836e923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/private/syslocks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ when defined(windows):
SpinCount: int

SysCond* {.importc: "RTL_CONDITION_VARIABLE", header: "<windows.h>".} = object
thePtr {.importc: "ptr".} : Handle
thePtr {.importc: "Ptr".} : Handle

proc initSysLock*(L: var SysLock) {.importc: "InitializeCriticalSection",
header: "<windows.h>".}
Expand Down

0 comments on commit 836e923

Please sign in to comment.