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
This commit is contained in:
Spoike 2005-01-04 08:06:46 +00:00
parent 5374343d1d
commit 5a6c27d500
1 changed files with 4 additions and 1 deletions

View File

@ -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"