mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Add ifdef block
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user