Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
This commit is contained in:
1 parent
cfbc1a447b
commit
3d7d347192
101 files changed
+341
-310
No files matched your search
+1
-1
@@ -591,7 +591,7 @@ MAX_GLOBAL_PRIORITY_SIZE_EXT :: 16
|
||||
f.write("""
|
||||
import "core:c"
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
when ODIN_OS == .Windows {
|
||||
\timport win32 "core:sys/windows"
|
||||
|
||||
\tHINSTANCE :: win32.HINSTANCE
|
||||
|
||||
Reference in new issue
Block a user