Merge pull request #693 from powerc9000/patch-2

Fix pthread_t on Macos.
This commit is contained in:
gingerBill
2020-07-22 22:28:38 +01:00
committed by GitHub

View File

@@ -14,11 +14,7 @@ PTHREAD_ONCE_SIZE :: 8;
PTHREAD_RWLOCK_SIZE :: 192;
PTHREAD_RWLOCKATTR_SIZE :: 16;
pthread_t :: opaque struct #align 16 {
sig: c.long,
cleanup_stack: rawptr,
_: [PTHREAD_SIZE] c.char,
};
pthread_t :: opaque u64;
pthread_attr_t :: opaque struct #align 16 {
sig: c.long,