Explorar el Código

Merge branch 'master' into windows-llvm-13.0.0

gingerBill hace 2 años
padre
commit
b0a77ec2fb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/common_memory.cpp

+ 2 - 0
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);