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"