mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix file load order and allow when statements at file scope
This commit is contained in:
+3
-3
@@ -22,11 +22,11 @@ when ODIN_OS == "windows" {
|
||||
}
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
c_long :: u32;
|
||||
c_ulong :: u32;
|
||||
} else when size_of(uint) == 4 {
|
||||
c_long :: u32;
|
||||
c_ulong :: u32;
|
||||
} else {
|
||||
c_long :: u64;
|
||||
c_ulong :: u64;
|
||||
}
|
||||
|
||||
c_longlong :: i64;
|
||||
|
||||
Reference in New Issue
Block a user