Browse Source

Merge pull request #308 from hasenj/master

fix missing declaration in osx
gingerBill 6 years ago
parent
commit
c508e46ed9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/os/os_osx.odin

+ 1 - 0
core/os/os_osx.odin

@@ -12,6 +12,7 @@ Handle    :: distinct i32;
 File_Time :: distinct u64;
 File_Time :: distinct u64;
 Errno     :: distinct int;
 Errno     :: distinct int;
 
 
+INVALID_HANDLE :: ~Handle(0);
 
 
 O_RDONLY   :: 0x00000;
 O_RDONLY   :: 0x00000;
 O_WRONLY   :: 0x00001;
 O_WRONLY   :: 0x00001;