r914 - branches/stable-1.0 trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jul 12 04:58:19 EDT 2007


Author: icculus
Date: 2007-07-12 04:58:09 -0400 (Thu, 12 Jul 2007)
New Revision: 914

Modified:
   branches/stable-1.0/CHANGELOG
   branches/stable-1.0/physfs_internal.h
   trunk/CHANGELOG.txt
   trunk/physfs_internal.h
Log:
Fixed missing alloc macro on mingw32, I think.


Modified: branches/stable-1.0/CHANGELOG
===================================================================
--- branches/stable-1.0/CHANGELOG	2007-07-11 22:11:29 UTC (rev 913)
+++ branches/stable-1.0/CHANGELOG	2007-07-12 08:58:09 UTC (rev 914)
@@ -4,6 +4,7 @@
 
 -- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
 
+07122007 - Maybe fixed compile on mingw32.
 07112007 - Fixed crash on zero-byte read/write (thanks, Ensiform!).
 05052007 - Fixed zip archiver: could do bogus seek if a small, non-zip file
            got put through isArchive().

Modified: branches/stable-1.0/physfs_internal.h
===================================================================
--- branches/stable-1.0/physfs_internal.h	2007-07-11 22:11:29 UTC (rev 913)
+++ branches/stable-1.0/physfs_internal.h	2007-07-12 08:58:09 UTC (rev 914)
@@ -22,6 +22,10 @@
 #define assert(x)
 #endif
 
+#ifdef __MINGW32__
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif

Modified: trunk/CHANGELOG.txt
===================================================================
--- trunk/CHANGELOG.txt	2007-07-11 22:11:29 UTC (rev 913)
+++ trunk/CHANGELOG.txt	2007-07-12 08:58:09 UTC (rev 914)
@@ -2,6 +2,7 @@
  * CHANGELOG.
  */
 
+07122007 - Maybe fixed compile on mingw32.
 07112007 - Fixed crash on zero-byte read/write (thanks, Ensiform!).
 05272007 - FIXME removal: Replaced a strncpy() with a memcpy().
 05112007 - Minor documentation correction.

Modified: trunk/physfs_internal.h
===================================================================
--- trunk/physfs_internal.h	2007-07-11 22:11:29 UTC (rev 913)
+++ trunk/physfs_internal.h	2007-07-12 08:58:09 UTC (rev 914)
@@ -29,6 +29,10 @@
 #include <malloc.h>
 #endif
 
+#ifdef __MINGW32__
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the physfs-commits mailing list