mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix building of astub.c with MinGW 4.8.
We have to work around namespace pollution in <sys/stat.h>. git-svn-id: https://svn.eduke32.com/eduke32@4072 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b2503da051
commit
a831f408e4
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ static const char *
|
|||
|
||||
#include <signal.h>
|
||||
|
||||
// Workaround for namespace pollution in <sys/stat.h> introduced in MinGW 4.8.
|
||||
#ifdef stat
|
||||
# undef stat
|
||||
#endif
|
||||
|
||||
static int32_t floor_over_floor;
|
||||
static int32_t g_fillCurSector = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue