diff options
| author | gingerBill <bill@gingerbill.org> | 2023-04-21 12:50:36 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-04-21 12:50:36 +0100 |
| commit | f2ec438166333555bb0b9bc9de2c5b85e7ce4386 (patch) | |
| tree | c4463b0dda67ade9a4019ecb47b2f52d95f1e102 /src/common_memory.cpp | |
| parent | a95b064d6d0a2e3dfa8c414be60ae966a099adfd (diff) | |
Add ifdef block
Diffstat (limited to 'src/common_memory.cpp')
| -rw-r--r-- | src/common_memory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <malloc.h> +#endif gb_internal gb_inline void zero_size(void *ptr, isize len) { memset(ptr, 0, len); |