mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-19 11:00:36 +00:00
fix issue 541 (darwin build fix)
This commit is contained in:
parent
28336da218
commit
f4e8b388fa
@ -39,7 +39,7 @@ void NSCLogNewline(){
|
||||
#ifdef WINDOWS
|
||||
fprintf(stderr,"\n",GetCurrentThreadId());
|
||||
#else
|
||||
fprintf(stderr,"\n",GetCurrentThreadId());
|
||||
fprintf(stderr,"\n");
|
||||
#endif
|
||||
fflush(stderr);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user