mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Make ODIN_BUILD_MODE a enum type
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user