mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
More mingw ports
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
17083e6519
commit
af14aae139
3 changed files with 7 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
* Source/NSFileManager.m (-findNextFile): Check if lstat,
|
||||
geteuid implemented.
|
||||
* Source/NSHost.m: Change includes for MINGW.
|
||||
* Source/NSPortNameServer.m: Likewise.
|
||||
* Source/NSPipe.m (init): Port to MINGW.
|
||||
|
||||
* configure.in: Do preface.h substitutions here.
|
||||
|
|
|
@ -375,7 +375,7 @@ static Class runLoopClass;
|
|||
}
|
||||
#ifdef __MINGW__
|
||||
dummy = 1;
|
||||
if (ioctlsocket(udp_desc, FIONBIO, &dummy) < 0)
|
||||
if (ioctlsocket(d, FIONBIO, &dummy) < 0)
|
||||
{
|
||||
NSLog(@"unable to set non-blocking mode - %s", strerror(errno));
|
||||
return nil;
|
||||
|
|
|
@ -39,8 +39,13 @@
|
|||
#include <Foundation/NSTimer.h>
|
||||
#include <Foundation/NSPortNameServer.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#ifdef __MINGW__
|
||||
#include <winsock.h>
|
||||
#include <wininet.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Protocol definition stuff for talking to gdomap process.
|
||||
|
|
Loading…
Reference in a new issue