r915 - branches/stable-1.0 trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jul 12 06:37:56 EDT 2007
Author: icculus
Date: 2007-07-12 06:37:56 -0400 (Thu, 12 Jul 2007)
New Revision: 915
Modified:
branches/stable-1.0/physfs_internal.h
trunk/physfs_internal.h
Log:
Whoops, it's malloc.h, not alloca.h ...
Modified: branches/stable-1.0/physfs_internal.h
===================================================================
--- branches/stable-1.0/physfs_internal.h 2007-07-12 08:58:09 UTC (rev 914)
+++ branches/stable-1.0/physfs_internal.h 2007-07-12 10:37:56 UTC (rev 915)
@@ -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
Modified: trunk/physfs_internal.h
===================================================================
--- trunk/physfs_internal.h 2007-07-12 08:58:09 UTC (rev 914)
+++ trunk/physfs_internal.h 2007-07-12 10:37:56 UTC (rev 915)
@@ -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
More information about the physfs-commits
mailing list