mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 05:53:12 +00:00
Merge pull request #693 from powerc9000/patch-2
Fix pthread_t on Macos.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user