diff options
| author | Chris Heyes <rumcode@icloud.com> | 2019-11-01 19:39:26 +0000 |
|---|---|---|
| committer | Chris Heyes <rumcode@icloud.com> | 2019-11-01 19:39:26 +0000 |
| commit | 044e64beb002d11fa8e1b5c2d2153c3891b1bbd4 (patch) | |
| tree | d95553f2d33835a30501a61f2cc1679c1bff8bc2 | |
| parent | adca5b57cd91b6692274b186f1bd991e12d541a5 (diff) | |
Add missing foreign import to time_darwin
| -rw-r--r-- | core/time/time_darwin.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/time/time_darwin.odin b/core/time/time_darwin.odin index f731776b1..91acd8ae7 100644 --- a/core/time/time_darwin.odin +++ b/core/time/time_darwin.odin @@ -1,5 +1,7 @@ package time +foreign import libc "system:c" + TimeSpec :: struct { tv_sec : i64, /* seconds */ tv_nsec : i64, /* nanoseconds */ |