fixes broken importc for vcc [backport] (#20909)
fixes broken imports for vcc
This commit is contained in:
parent
27a38a9fce
commit
b7d96cd3f5
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ else:
|
|||
|
||||
# MSVC intrinsics
|
||||
proc interlockedExchange(location: pointer; desired: int8): int8 {.importc: "_InterlockedExchange8".}
|
||||
proc interlockedExchange(location: pointer; desired: int16): int16 {.importc: "_InterlockedExchange".}
|
||||
proc interlockedExchange(location: pointer; desired: int32): int32 {.importc: "_InterlockedExchange16".}
|
||||
proc interlockedExchange(location: pointer; desired: int16): int16 {.importc: "_InterlockedExchange16".}
|
||||
proc interlockedExchange(location: pointer; desired: int32): int32 {.importc: "_InterlockedExchange".}
|
||||
proc interlockedExchange(location: pointer; desired: int64): int64 {.importc: "_InterlockedExchange64".}
|
||||
|
||||
proc interlockedCompareExchange(location: pointer; desired, expected: int8): int8 {.importc: "_InterlockedCompareExchange8".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue