aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-09-17 12:57:52 +0100
committergingerBill <bill@gingerbill.org>2021-09-17 12:57:52 +0100
commitf38b7ebf42ff3c38eddded78fad2f04ef82567b7 (patch)
tree3434ef98c191938b2c2885253392f2ca89125606 /core/sys
parent4cb7f056440130cb8160a8eaea4a47b270975483 (diff)
Begin adding vendor:miniaudio
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/unix/pthread_darwin.odin1
-rw-r--r--core/sys/unix/pthread_freebsd.odin3
-rw-r--r--core/sys/unix/pthread_linux.odin1
-rw-r--r--core/sys/unix/pthread_unix.odin1
4 files changed, 5 insertions, 1 deletions
diff --git a/core/sys/unix/pthread_darwin.odin b/core/sys/unix/pthread_darwin.odin
index 1ff6f44bb..542a550cb 100644
--- a/core/sys/unix/pthread_darwin.odin
+++ b/core/sys/unix/pthread_darwin.odin
@@ -1,3 +1,4 @@
+//+build darwin
package unix
import "core:c"
diff --git a/core/sys/unix/pthread_freebsd.odin b/core/sys/unix/pthread_freebsd.odin
index c2b493fbc..e5b0087b1 100644
--- a/core/sys/unix/pthread_freebsd.odin
+++ b/core/sys/unix/pthread_freebsd.odin
@@ -1,4 +1,5 @@
-package unix;
+//+build freebsd
+package unix
import "core:c";
diff --git a/core/sys/unix/pthread_linux.odin b/core/sys/unix/pthread_linux.odin
index 15164c9f3..099e7c7e9 100644
--- a/core/sys/unix/pthread_linux.odin
+++ b/core/sys/unix/pthread_linux.odin
@@ -1,3 +1,4 @@
+//+build linux
package unix
import "core:c"
diff --git a/core/sys/unix/pthread_unix.odin b/core/sys/unix/pthread_unix.odin
index f514d9d3d..ccd8f7844 100644
--- a/core/sys/unix/pthread_unix.odin
+++ b/core/sys/unix/pthread_unix.odin
@@ -1,3 +1,4 @@
+//+build linux, darwin, freebsd
package unix
foreign import "system:pthread"