Skip to content

Commit

Permalink
Add more missing when statements (in addition to DanielGavin#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
FourteenBrush committed Sep 22, 2024
1 parent 25b3f7b commit 340dc9c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions builtin/builtin.odin
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,15 @@ Odin_Arch_Type :: enum int {
wasm64p32,
}

@builtin
ODIN_OS_STRING: string

@builtin
ODIN_ARCH: Odin_Arch_Type

@builtin
ODIN_ARCH_STRING: string

Odin_Build_Mode_Type :: enum int {
Executable,
Dynamic,
Expand Down Expand Up @@ -110,6 +116,9 @@ Odin_Platform_Subtarget_Type :: enum int {
iOS,
}

@builtin
ODIN_ENDIAN_STRING: string

@builtin
ODIN_PLATFORM_SUBTARGET: Odin_Platform_Subtarget_Type

Expand Down Expand Up @@ -168,3 +177,21 @@ ODIN_NO_RTTI: bool

@builtin
ODIN_COMPILE_TIMESTAMP: int

@builtin
ODIN_NO_DYNAMIC_LITERALS: bool

@builtin
ODIN_USE_SEPARATE_MODULES: bool

@builtin
ODIN_TEST: bool

@builtin
ODIN_FOREIGN_ERROR_PROCEDURES: bool

@builtin
ODIN_BUILD_PROJECT_NAME: string

@builtin
ODIN_VALGRIND_SUPPORT: bool

0 comments on commit 340dc9c

Please sign in to comment.