mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
Include CoreFoundation and libdispatch in Foundation.h if available.
This more closely aligns Foundation.h with the Apple version if CoreBase and/or libdispatch are available.
This commit is contained in:
parent
5dac91ce3f
commit
1ff040df10
1 changed files with 9 additions and 0 deletions
|
@ -150,4 +150,13 @@
|
|||
#import <Foundation/NSXMLParser.h>
|
||||
#import <Foundation/NSZone.h>
|
||||
|
||||
#ifdef __has_include
|
||||
# if __has_include(<CoreFoundation/CoreFoundation.h>)
|
||||
# include <CoreFoundation/CoreFoundation.h>
|
||||
# endif
|
||||
# if __has_include(<dispatch/dispatch.h>)
|
||||
# include <dispatch/dispatch.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */
|
||||
|
|
Loading…
Reference in a new issue