mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Headers/GNUstepBase/GNUstep.h: Define the __has_feature macro,
as this file may be used without preface.h being included first. Fixes bug #33708. Patch by Tim Kack <timkack@gmail.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33461 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
af93046588
commit
cbb92041ae
2 changed files with 262 additions and 252 deletions
|
@ -29,6 +29,10 @@
|
|||
* GNUstep-base or MacOS-X Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __has_feature
|
||||
# define __has_feature(x) 0
|
||||
#endif
|
||||
|
||||
#if GS_WITH_GC || __has_feature(objc_arc)
|
||||
|
||||
#ifndef RETAIN
|
||||
|
|
Loading…
Reference in a new issue