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:
theraven 2011-06-29 15:29:40 +00:00
parent 9b134ac4e8
commit cfe8b63cbf

View file

@ -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)