mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
ASSIGN() / RETAIN() and so on macros break the ARC migration tool (it won't rewrite expressions in macros from external headers), so just make them expand to the same thing in ARC mode as in GC mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9b134ac4e8
commit
cfe8b63cbf
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
* GNUstep-base or MacOS-X Foundation.
|
||||
*/
|
||||
|
||||
#if GS_WITH_GC
|
||||
#if GS_WITH_GC || __has_feature(objc_arc)
|
||||
|
||||
#ifndef RETAIN
|
||||
#define RETAIN(object) (object)
|
||||
|
|
Loading…
Reference in a new issue