From b15ca262ac8d282dd7b50dfafc99e80206bbb244 Mon Sep 17 00:00:00 2001 From: wim Date: Mon, 1 Mar 2004 10:12:56 +0000 Subject: [PATCH] ([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 --- Source/NSThread.m | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/NSThread.m b/Source/NSThread.m index 12b8fad89..164576173 100644 --- a/Source/NSThread.m +++ b/Source/NSThread.m @@ -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)self forMode: [m objectAtIndex: i]]; } +#endif } + (BOOL) isValid