From a831f408e4686f22967df6fa01dd5baea7b94ede Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 6 Oct 2013 07:49:10 +0000 Subject: [PATCH] Fix building of astub.c with MinGW 4.8. We have to work around namespace pollution in . git-svn-id: https://svn.eduke32.com/eduke32@4072 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 01bee858a..121a4b7a9 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -67,6 +67,11 @@ static const char * #include +// Workaround for namespace pollution in introduced in MinGW 4.8. +#ifdef stat +# undef stat +#endif + static int32_t floor_over_floor; static int32_t g_fillCurSector = 0;