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.

Wolfgang


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to