Use __MINGW32__ rather than __MINGW__ because gcc does that too.

NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-10-11 19:09:26 +00:00
parent 9ce257fccf
commit 620e39b898
40 changed files with 247 additions and 247 deletions

View file

@ -37,7 +37,7 @@
#include "Foundation/NSCoder.h"
#include "Foundation/NSDebug.h"
#if defined(__MINGW__)
#if defined(__MINGW32__)
#include <winsock2.h>
#else
#include <netdb.h>
@ -48,7 +48,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif /* !__MINGW__*/
#endif /* !__MINGW32__*/
#ifndef INADDR_NONE
#define INADDR_NONE -1