Skip to content

Commit

Permalink
Watcom C should include malloc.h to make the alloca macro available.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 6, 2017
1 parent 15c18b0 commit 58bca6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs_internal.h
Expand Up @@ -26,7 +26,7 @@
#include <assert.h>

/* !!! FIXME: remove this when revamping stack allocation code... */
#if defined(_MSC_VER) || defined(__MINGW32__)
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__WATCOMC__)
#include <malloc.h>
#endif

Expand Down

0 comments on commit 58bca6a

Please sign in to comment.