gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

runtime inclusion, issues


From: Riccardo Mottola
Subject: runtime inclusion, issues
Date: Fri, 18 Oct 2019 07:52:25 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5

Hi,

supporting Mac, gnustep, gcc and clang is a small challenge :-P But I like to do it.

For selector issues, some time ago in Graphos I added this:

#if !defined (GNUSTEP) &&  (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
#define sel_isEqual(selector1, selector2) (selector1 ==  selector2)
#else
#include <objc/runtime.h>
#endif


fine it looks! but... today I am compiling on an older NetBSD system (SPARC) and there is no objc/runtime.h and am using GCC with its supplied runtime.

similar differences in runtime bite me also in OpenBSD.

Any suggestions?

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]