Commit 8c7481f2 by Iain Sandoe

restore darwin8 objc/c++ test functionality.

	* objc-obj-c++-shared/next-abi.h: Remove dependency on system
	headers.  Add clause to reflect that, pre-10.5, ABI is always 0.
	* objc/execute/forward-1.m: Depend only on __NEXT_RUNTIME__ for
	the method types to forward:.

From-SVN: r161687
parent 9a082684
2010-07-02 Iain Sandoe <iains@gcc.gnu.org>
* objc-obj-c++-shared/next-abi.h: Remove dependency on system
headers. Add clause to reflect that, pre-10.5, ABI is always 0.
* objc/execute/forward-1.m: Depend only on __NEXT_RUNTIME__ for
the method types to forward:.
2010-06-30 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/nullptr04.C: Use __INTPTR_TYPE__.
......
......@@ -19,7 +19,7 @@
#undef NEXT_OBJC_USE_NEW_INTERFACE
#ifdef __NEXT_RUNTIME__
# if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 || __OBJC2__)
# if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 || __OBJC2__)
/* We have to use an updated interface for 32bit NeXT to avoid
* 'deprecated' warnings.
* For 64bit NeXT the ABI is different (and the interfaces 'deprecated'
......@@ -36,7 +36,10 @@
*/
# define NEXT_OBJC_ABI_VERSION 0
# endif
# endif
#endif
# else
/* Pre-OSX 10.5 all is ABI 0. */
# define NEXT_OBJC_ABI_VERSION 0
# endif /* MAC_OS_X_VERSION_MIN_REQUIRED > 10.5 or OBJC2 */
#endif /* __NEXT_RUNTIME__ */
#endif /* _OBJC_NEXT_ABI_H_ */
......@@ -55,13 +55,12 @@ id forwarder, receiver;
receiver = theReceiver;
return self;
}
#ifdef NEXT_OBJC_USE_NEW_INTERFACE
#ifdef __NEXT_RUNTIME__
- forward: (SEL)theSel: (marg_list)theArgFrame
{
#else
-(retval_t) forward: (SEL)theSel: (arglist_t)theArgFrame
{
#endif
{
/* If we have a reciever try to perform on that object */
if (receiver)
return [receiver performv: theSel: theArgFrame];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment