Fix file load order and allow when statements at file scope

This commit is contained in:
Ginger Bill
2017-09-20 20:38:32 +01:00
parent 333db4dc94
commit d2c1c719bd
6 changed files with 624 additions and 335 deletions
+3 -3
View File
@@ -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;