Browse Source

Merge branch 'master' into windows-llvm-13.0.0

gingerBill 2 năm trước cách đây
mục cha
commit
b0a77ec2fb
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);