changes for use of _WIN32 define on windows

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-03-09 13:16:16 +00:00
parent 8904edf3fe
commit 62d2bcbabc
46 changed files with 303 additions and 251 deletions

View file

@ -38,7 +38,7 @@
#import "Foundation/NSSet.h"
#import "Foundation/NSCoder.h"
#if defined(__MINGW__)
#if defined(_WIN32)
#include <winsock2.h>
#include <ws2tcpip.h>
#else
@ -47,7 +47,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif /* !__MINGW__*/
#endif /* !_WIN32*/
#ifndef INADDR_NONE
#define INADDR_NONE -1