From: msweet Date: Mon, 12 Aug 2013 19:33:47 +0000 (+0000) Subject: Add API version 2.0 constants. X-Git-Tag: v2.2b1~868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38bb3cf454bac792ea8a1d642b4133d1eff16365;p=thirdparty%2Fcups.git Add API version 2.0 constants. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11232 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/versioning.h b/cups/versioning.h index 6e9be4d15e..b77b46d277 100644 --- a/cups/versioning.h +++ b/cups/versioning.h @@ -21,9 +21,9 @@ * This header defines several constants - _CUPS_DEPRECATED, * _CUPS_DEPRECATED_MSG, _CUPS_INTERNAL_MSG, _CUPS_API_1_1, _CUPS_API_1_1_19, * _CUPS_API_1_1_20, _CUPS_API_1_1_21, _CUPS_API_1_2, _CUPS_API_1_3, - * _CUPS_API_1_4, _CUPS_API_1_5, _CUPS_API_1_6, and _CUPS_API_1_7 - which add - * compiler-specific attributes that flag functions that are deprecated, added - * in particular releases, or internal to CUPS. + * _CUPS_API_1_4, _CUPS_API_1_5, _CUPS_API_1_6, _CUPS_API_1_7, and + * _CUPS_API_2_0 - which add compiler-specific attributes that flag functions + * that are deprecated, added in particular releases, or internal to CUPS. * * On OS X, the _CUPS_API_* constants are defined based on the values of * the MAC_OS_X_VERSION_MIN_ALLOWED and MAC_OS_X_VERSION_MAX_ALLOWED constants @@ -62,6 +62,7 @@ # define _CUPS_API_1_5 AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER # define _CUPS_API_1_6 AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER # define _CUPS_API_1_7 AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER +# define _CUPS_API_2_0 # else # define _CUPS_API_1_1_19 # define _CUPS_API_1_1_20 @@ -72,6 +73,7 @@ # define _CUPS_API_1_5 # define _CUPS_API_1_6 # define _CUPS_API_1_7 +# define _CUPS_API_2_0 # endif /* __APPLE__ && !_CUPS_SOURCE */ /*