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
ruevs 2023-09-29 16:01:07 +03:00
parent f399997976
commit 9edf2bcc34
1 changed files with 6 additions and 0 deletions

View File

@ -645,6 +645,12 @@ std::vector<std::string> 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 <malloc.h>
#endif
void DebugPrint(const char *fmt, ...)
{
va_list va;