diff options
| author | gingerBill <bill@gingerbill.org> | 2020-10-01 10:57:02 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-10-01 10:57:02 +0100 |
| commit | 252a8643084974230425cd82fb2c80ea0c33c417 (patch) | |
| tree | 3142def4353233bbbde0414e893182f232b35983 /core/runtime/default_allocators.odin | |
| parent | 9513cf1ac6c6c3d752ca6d56969a593a6832dd90 (diff) | |
Reimplement the Windows OS dependencies in `package runtime`
Diffstat (limited to 'core/runtime/default_allocators.odin')
| -rw-r--r-- | core/runtime/default_allocators.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/runtime/default_allocators.odin b/core/runtime/default_allocators.odin index 052bbc91f..d7026eeed 100644 --- a/core/runtime/default_allocators.odin +++ b/core/runtime/default_allocators.odin @@ -15,7 +15,8 @@ when ODIN_DEFAULT_TO_NIL_ALLOCATOR || ODIN_OS == "freestanding" { data = nil, }; } -} else { +} else when ODIN_OS != "windows" { + // TODO(bill): reimplement these procedures in the os_specific stuff import "core:os" default_allocator_proc :: os.heap_allocator_proc; |