mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
document version macros for OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36830 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
002a4a8da7
commit
fddf904fe7
1 changed files with 17 additions and 10 deletions
|
@ -92,12 +92,9 @@
|
|||
* two digits are the major version number, the second two are the minor
|
||||
* version number and the last two are the subminor number (all left padded
|
||||
* with a zero where necessary). However, for convenience you can also
|
||||
* use any of several predefined constants ...
|
||||
* use the predefined constants ...
|
||||
* <ref type="macro" id="GS_API_NONE">GS_API_NONE</ref>,
|
||||
* <ref type="macro" id="GS_API_LATEST">GS_API_LATEST</ref>,
|
||||
* <ref type="macro" id="GS_API_OSSPEC">GS_API_OSSPEC</ref>,
|
||||
* <ref type="macro" id="GS_API_OPENSTEP">GS_API_OPENSTEP</ref>,
|
||||
* <ref type="macro" id="GS_API_MACOSX">GS_API_MACOSX</ref>
|
||||
* </p>
|
||||
* <p>Also see <ref type="macro" id="OS_API_VERSION">OS_API_VERSION</ref>
|
||||
* </p>
|
||||
|
@ -134,6 +131,22 @@
|
|||
* </p>
|
||||
* <p>Also see <ref type="macro" id="GS_API_VERSION">GS_API_VERSION</ref>
|
||||
* </p>
|
||||
* <p>For OSX compatibility, this macro also supports the use of Apple's
|
||||
* symbolic constants for version numbering. Their contants are currently
|
||||
* four digit values (two digits for the major version, one for the minor,
|
||||
* and one for the subminor).
|
||||
* </p>
|
||||
* <p>The Apple compatibility version macros are currently:
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_0">MAC_OS_X_VERSION_10_0</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_1">MAC_OS_X_VERSION_10_1</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_2">MAC_OS_X_VERSION_10_2</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_3">MAC_OS_X_VERSION_10_3</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_4">MAC_OS_X_VERSION_10_4</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_5">MAC_OS_X_VERSION_10_5</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_6">MAC_OS_X_VERSION_10_6</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_7">MAC_OS_X_VERSION_10_7</ref>,
|
||||
* <ref type="macro" id="MAC_OS_X_VERSION_10_8">MAC_OS_X_VERSION_10_8</ref>
|
||||
* </p>
|
||||
*/
|
||||
#define OS_API_VERSION(ADD,REM) \
|
||||
(!defined(GS_OPENSTEP_V) \
|
||||
|
@ -188,12 +201,6 @@
|
|||
*/
|
||||
#define GS_API_MACOSX 100000
|
||||
|
||||
/** OSX compatibility definitions.
|
||||
*/
|
||||
#ifndef MAC_OS_X_VERSION_MAX_ALLOWED
|
||||
#define MAC_OS_X_VERSION_MAX_ALLOWED GS_API_LATEST
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(GNUSTEP_BASE_INTERNAL)
|
||||
#import "GNUstepBase/GSConfig.h"
|
||||
|
|
Loading…
Reference in a new issue