Whoops, it's malloc.h, not alloca.h ... stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Thu, 12 Jul 2007 10:37:56 +0000
branchstable-1.0
changeset 904 3c0531ffd64b
parent 902 a1bb05972265
child 907 387bd51da4b1
Whoops, it's malloc.h, not alloca.h ...
physfs_internal.h
--- a/physfs_internal.h	Thu Jul 12 08:58:09 2007 +0000
+++ b/physfs_internal.h	Thu Jul 12 10:37:56 2007 +0000
@@ -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