aboutsummaryrefslogtreecommitdiff
path: root/base/runtime
diff options
context:
space:
mode:
authorJon Lipstate <jon@lipstate.com>2025-09-03 22:51:28 -0700
committerJon Lipstate <jon@lipstate.com>2025-09-03 22:51:28 -0700
commit57bc45ae30736a891e4b65c7047a091e53cf60e3 (patch)
tree53a7fd84f67213318f659f02b4d03d6f7acdac45 /base/runtime
parente0c4c5336241cb3106910bec64369888b937132b (diff)
revert to working build
Diffstat (limited to 'base/runtime')
-rw-r--r--base/runtime/core_builtin.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/runtime/core_builtin.odin b/base/runtime/core_builtin.odin
index 7e96c6784..33b600c3e 100644
--- a/base/runtime/core_builtin.odin
+++ b/base/runtime/core_builtin.odin
@@ -54,8 +54,8 @@ container_of :: #force_inline proc "contextless" (ptr: $P/^$Field_Type, $T: type
when !NO_DEFAULT_TEMP_ALLOCATOR {
- when ODIN_ARCH == .i386 && ODIN_OS == .Windows && ODIN_NO_CRT {
- // Thread-local storage doesn't work on Windows i386 without CRT
+ when ODIN_ARCH == .i386 && ODIN_OS == .Windows {
+ // Thread-local storage is problematic on Windows i386
global_default_temp_allocator_data: Default_Temp_Allocator
} else {
@thread_local global_default_temp_allocator_data: Default_Temp_Allocator