macos-x portability fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24980 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-04-11 04:45:49 +00:00
parent 1e5f17853c
commit 9d18cfbcfa
7 changed files with 44 additions and 70 deletions

View file

@ -28,6 +28,12 @@
#include "GNUstepBase/GSCategories.h"
#include "GNUstepBase/GCObject.h"
/* Avoid compiler warnings about internal method
*/
@interface NSError (GNUstep)
+ (NSError*) _last;
@end
NSThread *GSCurrentThread()
{
return [NSThread currentThread];

View file

@ -56,6 +56,7 @@
#include "GNUstepBase/GSMime.h"
#include "GNUstepBase/GSXML.h"
#include "GNUstepBase/GSCategories.h"
#include "GNUstepBase/Unicode.h"
#include <string.h>
#include <ctype.h>

View file

@ -43,6 +43,7 @@
#include "config.h"
#include "GNUstepBase/preface.h"
#include "GNUstepBase/GSCategories.h"
#include "GNUstepBase/Unicode.h"
#ifdef HAVE_LIBXML
@ -5533,7 +5534,6 @@ didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge*)challenge
{
NSMutableArray *params = [NSMutableArray array];
id fault = nil;
int code;
NS_DURING
{