aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-07-27 04:20:03 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-08-14 01:44:35 +0200
commitefe68c2e24e0a38e591f146822ed93904e4193d7 (patch)
treec2ac0ed3d08746495aa6adcd7a1c1ab052a7ee76 /examples
parentac68a9d52c3a9edc587e1ccab747613baf6f89de (diff)
posix: add package
Diffstat (limited to 'examples')
-rw-r--r--examples/all/all_posix.odin6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/all/all_posix.odin b/examples/all/all_posix.odin
new file mode 100644
index 000000000..819dd6dd3
--- /dev/null
+++ b/examples/all/all_posix.odin
@@ -0,0 +1,6 @@
+//+build darwin, openbsd, freebsd, netbsd
+package all
+
+import posix "core:sys/posix"
+
+_ :: posix