mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
1e5f17853c
commit
9d18cfbcfa
7 changed files with 44 additions and 70 deletions
|
@ -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];
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue