discuss-gnustep
[Top][All Lists]
Advanced

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

Re: things that fail to build with gcc and libobjc2


From: David Chisnall
Subject: Re: things that fail to build with gcc and libobjc2
Date: Wed, 6 Apr 2011 12:28:32 +0100

On 6 Apr 2011, at 11:53, Sebastian Reitenbach wrote:

> IIRC, helge used to compile it on apple, so I'll probably find some #ifdefs 
> in 
> there that check for the runtime. Is there an easy way to distinguish between 
> the traditional and new libobjc2 runtime? is there a #defined version I could 
> check?


The macro __GNUSTEP_RUNTIME__ is defined if you are using libobjc2.  Additional 
features can be checked using the macros in capabilities.h.  There is no 
version macro, because conditionals based on versions rather than features are 
considered harmful.

David

-- Sent from my Cray X1




reply via email to

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