Explorar o código

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

Ryan C. Gordon %!s(int64=18) %!d(string=hai) anos
pai
achega
782bb8a06f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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