summaryrefslogtreecommitdiff
path: root/os.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-08 11:38:49 -0500
committerpommicket <pommicket@gmail.com>2023-01-09 13:23:40 -0500
commitff6abceefdcf3bd1521d88173323c93abf71eb6b (patch)
tree65238c1dad19a06042cc354aa9d1b3c6fefc7fa1 /os.c
parentbb6d6850bd7d1e7fb65bae6f4d1bae32534f3455 (diff)
cmake?
Diffstat (limited to 'os.c')
-rw-r--r--os.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/os.c b/os.c
new file mode 100644
index 0000000..17897d6
--- /dev/null
+++ b/os.c
@@ -0,0 +1,7 @@
+#if _WIN32
+#include "os-win.c"
+#elif __unix__
+#include "os-posix.c"
+#else
+#error "Unrecognized operating system"
+#endif