From f2ec438166333555bb0b9bc9de2c5b85e7ce4386 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 21 Apr 2023 12:50:36 +0100 Subject: Add ifdef block --- src/common_memory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common_memory.cpp') diff --git a/src/common_memory.cpp b/src/common_memory.cpp index d6a87529f..c6ee88f03 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -1,4 +1,6 @@ +#if defined(GB_SYSTEM_LINUX) #include +#endif gb_internal gb_inline void zero_size(void *ptr, isize len) { memset(ptr, 0, len); -- cgit v1.2.3