Browse Source

Merge pull request #299 from CaptainKraft/master

Add the missing INVALID_HANDLE so that the demo will build and run on Linux
gingerBill 6 years ago
parent
commit
8702a8a477
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/os/os_linux.odin

+ 1 - 0
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;