소스 검색

Merge branch 'master' into windows-llvm-13.0.0

gingerBill 2 년 전
부모
커밋
b0a77ec2fb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);