aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vendor/libc/libc.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/libc/libc.odin b/vendor/libc/libc.odin
index 3ec25aacf..a5508e14f 100644
--- a/vendor/libc/libc.odin
+++ b/vendor/libc/libc.odin
@@ -12,6 +12,7 @@ g_allocator: mem.Compat_Allocator
@(init)
init_context :: proc "contextless" () {
g_ctx = runtime.default_context()
+ context = g_ctx
// Wrapping the allocator with the mem.Compat_Allocator so we can
// mimic the realloc semantics.