aboutsummaryrefslogtreecommitdiff
path: root/core/runtime/default_allocators.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-10-01 10:57:02 +0100
committergingerBill <bill@gingerbill.org>2020-10-01 10:57:02 +0100
commit252a8643084974230425cd82fb2c80ea0c33c417 (patch)
tree3142def4353233bbbde0414e893182f232b35983 /core/runtime/default_allocators.odin
parent9513cf1ac6c6c3d752ca6d56969a593a6832dd90 (diff)
Reimplement the Windows OS dependencies in `package runtime`
Diffstat (limited to 'core/runtime/default_allocators.odin')
-rw-r--r--core/runtime/default_allocators.odin3
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;