mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-08 13:51:37 -04:00
Add ifdef block
This commit is contained in:
1 parent
a95b064d6d
commit
f2ec438166
1 file changed
+2
@@ -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