WIN32: Make sure _argc and _argv are present with mingw
In mingw32 when __STRICT_ANSI__ is defined these variables doesn't get defined
This commit is contained in:
parent
d1cc639318
commit
6ba11c8f93
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
// Disable symbol overrides so that we can use system headers.
|
// Disable symbol overrides so that we can use system headers.
|
||||||
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
#define FORBIDDEN_SYMBOL_ALLOW_ALL
|
||||||
|
// HACK: Mingw32 doesn't define _argc _argv in strict ANSI mode
|
||||||
|
#undef __STRICT_ANSI__
|
||||||
|
|
||||||
#include "common/scummsys.h"
|
#include "common/scummsys.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue