Skip to content

Commit

Permalink
Fixed missing alloc macro on mingw32, I think.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 12, 2007
1 parent c5ee3d9 commit 827b643
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions physfs_internal.h
Expand Up @@ -29,6 +29,10 @@
#include <malloc.h>
#endif

#ifdef __MINGW32__
#include <alloca.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 827b643

Please sign in to comment.