From 4c1aa2b1c5eb02d0908e73bb66a889ed8455045e Mon Sep 17 00:00:00 2001 From: Cameron Tacklind Date: Wed, 10 Aug 2022 12:52:49 -0700 Subject: [PATCH] Fix prod build missing define --- src_v2/platform/linux/lumenarium_linux_memory.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src_v2/platform/linux/lumenarium_linux_memory.h b/src_v2/platform/linux/lumenarium_linux_memory.h index e1c97f3..c4e086d 100644 --- a/src_v2/platform/linux/lumenarium_linux_memory.h +++ b/src_v2/platform/linux/lumenarium_linux_memory.h @@ -23,6 +23,8 @@ os_page_size() if (!(c)) { \ linux_memory_assert_always;\ }} while(false) +#else +# define linux_memory_assert(c) #endif // DEBUG #define SIZE_T_MAX_U64 (uint64_t)((size_t)0 - 1)