diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-10-20 22:54:20 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-10-20 22:54:20 -0500 |
| commit | 2696e900c0096b4450bd1130aa4d762a03c3177f (patch) | |
| tree | baecf57b1908a0c3ce45d8f91bdcfdac4e799fb4 /tests | |
| parent | 3c7172983975a41d21e6aea7c4a0d6a7734926aa (diff) | |
| download | nimterop-2696e900c0096b4450bd1130aa4d762a03c3177f.tar.gz nimterop-2696e900c0096b4450bd1130aa4d762a03c3177f.zip | |
getOverride and Final
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/zlib.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/zlib.nim b/tests/zlib.nim index 036b50c..ce26c9a 100644 --- a/tests/zlib.nim +++ b/tests/zlib.nim @@ -48,8 +48,9 @@ cOverride: z_crc_t = culong alloc_func* {.importc.} = proc(opaque: voidpf, items, size: uint) {.cdecl.} Bytef {.importc.} = object - - when defined(posix): + +when defined(posix): + cOverride: type pthread_mutex_s = object pthread_cond_s = object |
