fix pthread_mutex_t size (#20055)

This commit is contained in:
Jacek Sieka
2022-07-18 06:44:47 +02:00
committed by GitHub
parent efdcc00169
commit c6264ed847

View File

@@ -168,7 +168,7 @@ type
Pthread_key* {.importc: "pthread_key_t", header: "<sys/types.h>".} = cuint
Pthread_mutex* {.importc: "pthread_mutex_t", header: "<sys/types.h>",
pure, final.} = object
abi: array[48 div sizeof(clong), clong]
abi: array[40 div sizeof(clong), clong]
Pthread_mutexattr* {.importc: "pthread_mutexattr_t",
header: "<sys/types.h>", pure, final.} = object
abi: array[4 div sizeof(cint), cint]