* Fix #12135 and fix #12109 - fix OpenBSD type defs * Fix Mode definition as in #12132
This commit is contained in:
parent
0c4d81241a
commit
7e689873e2
3 changed files with 570 additions and 0 deletions
|
|
@ -132,6 +132,13 @@ else:
|
|||
abi: array[56 div sizeof(clong), clong]
|
||||
ThreadVarSlot {.importc: "pthread_key_t",
|
||||
header: "<sys/types.h>".} = distinct cuint
|
||||
elif defined(openbsd) and defined(amd64):
|
||||
type
|
||||
SysThread* {.importc: "pthread_t", header: "<pthread.h>".} = object
|
||||
Pthread_attr {.importc: "pthread_attr_t",
|
||||
header: "<pthread.h>".} = object
|
||||
ThreadVarSlot {.importc: "pthread_key_t",
|
||||
header: "<pthread.h>".} = cint
|
||||
else:
|
||||
type
|
||||
SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue