mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Remove when suffixes; Implement file scope when statement, evaluated in source order
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
||||
// TODO(bill): Use assembly instead here to implement atomics
|
||||
// Inline vs external file?
|
||||
|
||||
import win32 "core:sys/windows.odin" when ODIN_OS == "windows";
|
||||
when ODIN_OS == "windows" {
|
||||
import win32 "core:sys/windows.odin";
|
||||
}
|
||||
_ :: compile_assert(ODIN_ARCH == "amd64"); // TODO(bill): x86 version
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user