Win32: Fix for compiling with MinGW.org GCC-6.3.0-1
MinGW-w64 MinGW-Builds 13.1.0 on the other hand does not need this.pull/1413/head
parent
f399997976
commit
9edf2bcc34
|
@ -645,6 +645,12 @@ std::vector<std::string> InitCli(int argc, char **argv) {
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
|
|
||||||
|
#if !defined(_alloca)
|
||||||
|
// Fix for compiling with MinGW.org GCC-6.3.0-1
|
||||||
|
#define _alloca alloca
|
||||||
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
void DebugPrint(const char *fmt, ...)
|
void DebugPrint(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
Loading…
Reference in New Issue