Fixed missing alloc macro on mingw32, I think.

This commit is contained in:
Ryan C. Gordon 2007-07-12 08:58:09 +00:00
parent 87f7eb152a
commit 8d1003ce7f
2 changed files with 5 additions and 0 deletions

View File

@ -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().

View File

@ -22,6 +22,10 @@
#define assert(x)
#endif
#ifdef __MINGW32__
#include <alloca.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif