mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
re-add MAC_OS_X_VERSION_MAX_ALLOWED
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36857 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7a87a9ae1
commit
58ab45113f
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-07-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/GNUstepBase/GSVersionMacros.h:
|
||||
Re-add define to set MAC_OS_X_VERSION_MAX_ALLOWED for OSX compatibility.
|
||||
|
||||
2013-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/cifframe.m: Fix possible incorrect free of non-malloc'ed
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
#endif /* MAC_OS_X_VERSION_10_0 */
|
||||
|
||||
/* Allow MAC_OS_X_VERSION_MAX_ALLOWED to be used in place of GS_OPENSTEP_V
|
||||
* if GS_OPENSTEP_V is not defined.
|
||||
*/
|
||||
#ifndef GS_OPENSTEP_V
|
||||
#ifdef MAC_OS_X_VERSION_MAX_ALLOWED
|
||||
|
@ -201,6 +202,14 @@
|
|||
*/
|
||||
#define GS_API_MACOSX 100000
|
||||
|
||||
/* Allow OSX code comparing MAC_OS_X_VERSION_MAX_ALLOWED with a specific
|
||||
* version to see if that version is allowed, to always have it allowed
|
||||
* on GNUstep.
|
||||
*/
|
||||
#ifndef MAC_OS_X_VERSION_MAX_ALLOWED
|
||||
#define MAC_OS_X_VERSION_MAX_ALLOWED GS_API_LATEST
|
||||
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED */
|
||||
|
||||
|
||||
#if defined(GNUSTEP_BASE_INTERNAL)
|
||||
#import "GNUstepBase/GSConfig.h"
|
||||
|
|
Loading…
Reference in a new issue