aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-01-29 17:46:06 +0000
committergingerBill <bill@gingerbill.org>2024-01-29 17:46:06 +0000
commitecaaad95a508e4838cd3f9fdb52ae659c882fa5e (patch)
tree31b56f738ab7984e97b2d4cab5a313ed9f9749b3
parentdbb6c6f545621600725a6decc7b742535fff310d (diff)
Remove malloc.h import
-rw-r--r--src/common_memory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common_memory.cpp b/src/common_memory.cpp
index 80a6ac2b4..b63c101d2 100644
--- a/src/common_memory.cpp
+++ b/src/common_memory.cpp
@@ -1,7 +1,3 @@
-#if defined(GB_SYSTEM_LINUX)
-#include <malloc.h>
-#endif
-
gb_internal gb_inline void zero_size(void *ptr, isize len) {
memset(ptr, 0, len);
}