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:
hendricks266 2013-10-06 07:49:10 +00:00
parent b2503da051
commit a831f408e4
1 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,11 @@ static const char *
#include <signal.h> #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 floor_over_floor;
static int32_t g_fillCurSector = 0; static int32_t g_fillCurSector = 0;