Whoops, it's malloc.h, not alloca.h ...
authorRyan C. Gordon <icculus@icculus.org>
Thu, 12 Jul 2007 10:37:56 +0000
changeset 905 8006327f5797
parent 903 f5bad51e0f93
child 906 4fb7ae54f321
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
@@ -25,14 +25,10 @@
 #endif
 
 /* !!! FIXME: remove this when revamping stack allocation code... */
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__MINGW32__)
 #include <malloc.h>
 #endif
 
-#ifdef __MINGW32__
-#include <alloca.h>
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif