tweak for older compilers

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34495 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-01-11 13:29:46 +00:00
parent ee93c60ae5
commit ff7ce0ea8e

View file

@ -97,13 +97,13 @@ typedef NSUInteger NSXMLNodeKind;
* when we don't have the non-fragile ABI available.
* Use this mechanism rather than changing the instance variable
* layout (see Source/GSInternal.h for details).
* In this case, when compiled the variable is a protected class
* In this case, when compiled the variable is a public class pointer
* available so that the NSXMLNode subclasses within the base library
* can share the same variables, but when viewed from outside the
* base library itsself, it's an opaque pointer which must not be used.
*/
# if defined(GSInternal)
@protected GSInternal *_internal GS_UNUSED_IVAR;
@public GSInternal *_internal GS_UNUSED_IVAR;
# else
@private id _internal GS_UNUSED_IVAR;
# endif