From 7db57e2d9c7d6032334d73f1056478fa23ee4b3a Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 14 Sep 2025 17:24:22 +0100 Subject: [PATCH] Temporarily disable `TEMPORARY_ALLOCATOR_GUARD` --- src/common_memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common_memory.cpp b/src/common_memory.cpp index 3658c0ffe..f169d7974 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -488,8 +488,8 @@ gb_internal gbAllocator temporary_allocator() { #define TEMP_ARENA_GUARD(arena) ArenaTempGuard GB_DEFER_3(_arena_guard_){arena} -// #define TEMPORARY_ALLOCATOR_GUARD() -#define TEMPORARY_ALLOCATOR_GUARD() TEMP_ARENA_GUARD(get_arena(ThreadArena_Temporary)) +// #define TEMPORARY_ALLOCATOR_GUARD() TEMP_ARENA_GUARD(get_arena(ThreadArena_Temporary)) +#define TEMPORARY_ALLOCATOR_GUARD() #define PERMANENT_ALLOCATOR_GUARD()