mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
This commit is contained in:
+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
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ package vulkan
|
||||
|
||||
import "core:c"
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
when ODIN_OS == .Windows {
|
||||
import win32 "core:sys/windows"
|
||||
|
||||
HINSTANCE :: win32.HINSTANCE
|
||||
|
||||
Reference in New Issue
Block a user