[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAC_OS_X_VERSION macros
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.
Wolfgang
- MAC_OS_X_VERSION macros, Frank Rehwinkel, 2013/06/03
- Re: MAC_OS_X_VERSION macros, Maxthon Chan, 2013/06/03
- Re: MAC_OS_X_VERSION macros, Frank Rehwinkel, 2013/06/03
- Re: MAC_OS_X_VERSION macros, Eric Wasylishen, 2013/06/26
- Re: MAC_OS_X_VERSION macros, Wolfgang Lux, 2013/06/26
- Re: MAC_OS_X_VERSION macros, Ivan Vučica, 2013/06/26
- Re: MAC_OS_X_VERSION macros,
Wolfgang Lux <=
- Re: MAC_OS_X_VERSION macros, Frank Rehwinkel, 2013/06/26
- Re: MAC_OS_X_VERSION macros, Richard Frith-Macdonald, 2013/06/30