[Top][All Lists]

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


From: Wolfgang Lux
Subject: Re: MAC_OS_X_VERSION macros
Date: Wed, 26 Jun 2013 11:33:05 +0200

Ivan Vučica wrote:

> How about:
> #ifdef __APPLE__
> #include <WhateverHeaderDefinesMacOSXVersionMacros.h>
> #else
> // GNUstep's definitions
> #endif
> This would only be helpful if OS X's macro definitions exist in a standalone 
> header, by themselves. However, it sounds better than undefining, avoiding 
> inclusion, or renaming or removing the macros.

That would indeed be better. However, to do that we first need to fix all 
places where the numeric values of the version macros are used. This, of 
course, should be done anyway, and my code is just meant as a workaround (call 
it a hack) until this is done.


reply via email to

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