WIN32: Enable GNU extensions for mingw

This way old mingw gets its __argc and __argv. Using gnu++11 instead of
undefining __STRICT_ANSI__ makes GCC11 happy.

Closes #3473
This commit is contained in:
Le Philousophe 2021-11-02 20:52:36 +01:00
parent af7500a06b
commit ded4ab6c23
2 changed files with 1 additions and 3 deletions

View file

@ -22,8 +22,6 @@
// Disable symbol overrides so that we can use system headers.
#define FORBIDDEN_SYMBOL_ALLOW_ALL
// HACK: Mingw32 doesn't define _argc _argv in strict ANSI mode
#undef __STRICT_ANSI__
#include "common/scummsys.h"