Simplify the macros from the last commit. We don't actually need them with the old GCC runtime, because we already implement wrappers in the ObjectiveC2 framework, which let us easily migrate from GCC 4.5 libobjc + Objective2 to libobjc2 without a recompile (although not to GCC 4.6 libobjc, due to the function renaming).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32222 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-02-19 16:07:07 +00:00
parent 32fbfc3217
commit 71905252e5

View file

@ -71,14 +71,9 @@
* the _np suffix explicitly annotates the code as not compatible with the NeXT
* and Mac runtimes.
*/
#ifdef NeXT_RUNTIME
# ifdef __GNU_LIBOBJC__
# define sel_getType_np sel_getTypeEncoding
# define sel_registerTypedName_np sel_registerTypedName
# elif !defined(__GNUSTEP_RUNTIME__)
# define sel_getType_np sel_get_type
# define sel_registerTypedName_np sel_register_typed_name
# endif
#ifdef __GNU_LIBOBJC__
# define sel_getType_np sel_getTypeEncoding
# define sel_registerTypedName_np sel_registerTypedName
#endif
// Semi-private GNU[step] runtime function.