From c42d2062185273c74f105578fae0443a39c400de Mon Sep 17 00:00:00 2001 From: theraven Date: Sat, 19 Feb 2011 16:07:07 +0000 Subject: [PATCH] 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 --- Source/common.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Source/common.h b/Source/common.h index 37021cd4d..07dc3f92e 100644 --- a/Source/common.h +++ b/Source/common.h @@ -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.