fix issue 541 (darwin build fix)

This commit is contained in:
Glenn Ganz 2010-03-30 09:53:11 +02:00
parent 28336da218
commit f4e8b388fa
3 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void NSCLogNewline(){
#ifdef WINDOWS
fprintf(stderr,"\n",GetCurrentThreadId());
#else
fprintf(stderr,"\n",GetCurrentThreadId());
fprintf(stderr,"\n");
#endif
fflush(stderr);
}

View File

@ -15,6 +15,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSArray.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSString.h>
#import <Foundation/NSRaise.h>
#import <errno.h>
#import <sys/select.h>
@ -117,6 +118,9 @@ static int maxDescriptorInThreeSets(NSSet *set1,NSSet *set2,NSSet *set3){
return result;
}
void NSSelectSetShutdownForCurrentThread() {
NSUnimplementedFunction();
}
static void transferSetToNative(NSSet *set,native_set *native){
NSEnumerator *state=[set objectEnumerator];
NSSocket_bsd *socket;

View File

@ -11,8 +11,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <mach-o/dyld.h>
#import <mach-o/getsect.h>
#import "objc_sel.h"
#import "objc_class.h"
#import <string.h>
#import "ObjCException.h"
#import <Foundation/NSRaiseException.h>
/*
* Fetches all Objective-C-Modules via the mach-o/dyld.h interface and initializes them.