diff --git a/src/platform/platform.cpp b/src/platform/platform.cpp index 82ce2d30..6ad19dcf 100644 --- a/src/platform/platform.cpp +++ b/src/platform/platform.cpp @@ -645,6 +645,12 @@ std::vector InitCli(int argc, char **argv) { #if defined(WIN32) +#if !defined(_alloca) +// Fix for compiling with MinGW.org GCC-6.3.0-1 +#define _alloca alloca +#include +#endif + void DebugPrint(const char *fmt, ...) { va_list va;