diff options
Diffstat (limited to 'source/blender/blenlib/BLI_compiler_compat.h')
-rw-r--r-- | source/blender/blenlib/BLI_compiler_compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_compiler_compat.h b/source/blender/blenlib/BLI_compiler_compat.h index 60a7d8dbd02..eb9887f015b 100644 --- a/source/blender/blenlib/BLI_compiler_compat.h +++ b/source/blender/blenlib/BLI_compiler_compat.h @@ -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__ */ |