mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
tweak for OSX build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29908 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d40713794
commit
1cf58483e2
3 changed files with 12 additions and 4 deletions
|
@ -26,7 +26,7 @@
|
|||
#import "common.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#if defined(NeXT_Foundation_LIBRARY)
|
||||
|
||||
/* These functions are in NSThread.m in the base library.
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#ifndef NeXT_Foundation_LIBRARY
|
||||
#if defined(NeXT_Foundation_LIBRARY)
|
||||
#import <Foundation/Foundation.h>
|
||||
#else
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSBundle.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
|
@ -37,8 +39,6 @@
|
|||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#else
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
|
|
|
@ -6,6 +6,14 @@
|
|||
|
||||
#import "config.h"
|
||||
|
||||
/* If this is included in a file in the Additions subdirectory, and we are
|
||||
* building for use with the NeXT/Apple Foundation, then we need to import
|
||||
* the native headers in preference to any of our own.
|
||||
*/
|
||||
#if defined(NeXT_Foundation_LIBRARY)
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
|
||||
/* GNUstepBase/GSConfig.h includes <GNUstepBase/preface.h> so
|
||||
* we import local versions first.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue