From 8d1003ce7f36c2108a41baaef969c160ab62b6cb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 12 Jul 2007 08:58:09 +0000 Subject: [PATCH] Fixed missing alloc macro on mingw32, I think. --- CHANGELOG | 1 + physfs_internal.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ed453c8..ca54f01 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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(). diff --git a/physfs_internal.h b/physfs_internal.h index 25c48a0..b113a3b 100644 --- a/physfs_internal.h +++ b/physfs_internal.h @@ -22,6 +22,10 @@ #define assert(x) #endif +#ifdef __MINGW32__ +#include +#endif + #ifdef __cplusplus extern "C" { #endif