fix pthread_mutex_t size (#20055)

(cherry picked from commit c6264ed847)
This commit is contained in:
Jacek Sieka
2022-07-18 06:44:47 +02:00
committed by narimiran
parent fd76c00479
commit 8a98177025

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]