Make ODIN_BUILD_MODE a enum type

This commit is contained in:
gingerBill
2022-01-15 17:34:35 +00:00
parent 51dcbc80c3
commit 6c48670819
7 changed files with 144 additions and 74 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ package runtime
import "core:intrinsics"
when ODIN_BUILD_MODE == "dynamic" {
when ODIN_BUILD_MODE == .Dynamic {
@(link_name="_odin_entry_point", linkage="strong", require, link_section=".init")
_odin_entry_point :: proc "c" () {
context = default_context()