Get base to compile again on Windows.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28143 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-03-28 16:43:54 +00:00
parent 0807ecd3d6
commit c07b8718d7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-03-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSocketPort.m (-receivedEvent:...forMode:): Fix usage of
ET_WDESC for MINGW32.
2009-03-24 Richard Frith-Macdonald <rfm@gnu.org> 2009-03-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h: * Source/GSSocketStream.h:

View file

@ -1227,9 +1227,10 @@ static Class runLoopClass;
{ {
#if defined(__MINGW32__) #if defined(__MINGW32__)
WSANETWORKEVENTS ocurredEvents; WSANETWORKEVENTS ocurredEvents;
#endif #else
NSDebugMLLog(@"GSTcpHandle", @"received %s event on 0x%x", NSDebugMLLog(@"GSTcpHandle", @"received %s event on 0x%x",
type != ET_WDESC ? "read" : "write", self); type != ET_WDESC ? "read" : "write", self);
#endif
/* /*
* If we have been invalidated (desc < 0) then we should ignore this * If we have been invalidated (desc < 0) then we should ignore this
* event and remove ourself from the runloop. * event and remove ourself from the runloop.