소스 검색

Whoops, it's malloc.h, not alloca.h ...

Ryan C. Gordon 18 년 전
부모
커밋
782bb8a06f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      physfs_internal.h

+ 2 - 2
physfs_internal.h

@@ -22,8 +22,8 @@
 #define assert(x)
 #endif
 
-#ifdef __MINGW32__
-#include <alloca.h>
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#include <malloc.h>
 #endif
 
 #ifdef __cplusplus