([GSPerformHolder +initialize]): #ifdef'ed out

code that does not work on MinGW.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18727 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wim (Willem Rein) Oudshoorn 2004-03-01 10:12:56 +00:00
parent 17cdd5c978
commit 89c29c8072

View file

@ -821,6 +821,14 @@ static NSDate *theFuture;
perfArray = [[NSMutableArray alloc] initWithCapacity: 10];
/*
* FIXME: The runloop under MINGW only accepts sockets and
* unfortunately pipes under windows can not be
* treated as sockets so this will not WORK.
* Consequence, performSelectorOnMainThread methods will not
* work.
*/
#ifndef __MINGW__
for (i = 0; i < count; i++ )
{
[loop addEvent: (void*)inputFd
@ -828,6 +836,7 @@ static NSDate *theFuture;
watcher: (id<RunLoopEvents>)self
forMode: [m objectAtIndex: i]];
}
#endif
}
+ (BOOL) isValid