From 5a6c27d500ae727f43f0b65cf3add683f688b27a Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 4 Jan 2005 08:06:46 +0000 Subject: [PATCH] mingw detection is a little better now. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@713 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/bothdefs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/common/bothdefs.h b/engine/common/bothdefs.h index f8923f864..bbce310f9 100644 --- a/engine/common/bothdefs.h +++ b/engine/common/bothdefs.h @@ -22,9 +22,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define __BOTHDEFS_H -#ifdef __MINGW32_VERSION +#if defined(__MINGW32_VERSION) || defined(__MINGW__) #define MINGW #endif +#if !defined(MINGW) && defined(__GNUC__) && defined(_WIN32) + #define MINGW //Erm, why is this happening? +#endif #ifdef HAVE_CONFIG_H //if it was configured properly, then we have a more correct list of features we want to use. #include "config.h"