Add alloca include in compiler compatibility. Helps with MinGW32

compilation.
This commit is contained in:
Antonis Ryakiotakis 2014-05-13 18:30:16 +03:00
parent 4875a665cc
commit ba350d3020
1 changed files with 5 additions and 0 deletions

View File

@ -32,4 +32,9 @@
# define alloca _alloca
#endif
/* alloca is defined here for MinGW32 */
#ifdef __MINGW32__
#include <malloc.h>
#endif
#endif /* __BLI_COMPILER_COMPAT_H__ */