mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 05:34:59 -07:00
fix test
This commit is contained in:
@@ -442,17 +442,17 @@ when ODIN_OS == .Darwin {
|
||||
|
||||
pthread_t :: distinct u64
|
||||
|
||||
pthread_attr_t :: struct #align(16) {
|
||||
pthread_attr_t :: struct #align(8) {
|
||||
_: [8]byte,
|
||||
}
|
||||
|
||||
pthread_key_t :: distinct c.int
|
||||
|
||||
pthread_mutex_t :: struct #align(16) {
|
||||
pthread_mutex_t :: struct #align(8) {
|
||||
_: [8]byte,
|
||||
}
|
||||
|
||||
pthread_cond_t :: struct #align(16) {
|
||||
pthread_cond_t :: struct #align(8) {
|
||||
_: [8]byte,
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package unix
|
||||
|
||||
import "core:sys/posix"
|
||||
import "core:c"
|
||||
|
||||
timespec :: posix.timespec
|
||||
timespec :: struct {
|
||||
secs: i64,
|
||||
nsecs: c.long,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user