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:
David Chisnall 2011-06-29 15:29:40 +00:00
parent f196d81788
commit 9d06beffdd

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)