aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaptainKraft <Jeremiah@CaptainKraft.com>2018-12-09 20:52:03 -0600
committerCaptainKraft <Jeremiah@CaptainKraft.com>2018-12-09 20:52:03 -0600
commitcfcb0514bf706219bbaa02e36da6430466e67bf3 (patch)
tree121a6e398499fcb731ec410b749fd10164962d39
parent1a6b7f99454ba67fab0e69ddc46e20aff94c8320 (diff)
Add the missing INVALID_HANDLE so that the demo will build and run on Linux.
-rw-r--r--core/os/os_linux.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin
index 1ca41ee77..2080b4455 100644
--- a/core/os/os_linux.odin
+++ b/core/os/os_linux.odin
@@ -12,6 +12,7 @@ Handle :: distinct i32;
File_Time :: distinct u64;
Errno :: distinct i32;
+INVALID_HANDLE :: ~Handle(0);
O_RDONLY :: 0x00000;
O_WRONLY :: 0x00001;