[cups.development] [RFE] STR #3203: Add (and document) predefined macros / definitions to ppdc
Smith Kennedy
smith.kennedy at hp.com
Sat May 23 07:18:08 PDT 2009
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
It would be very helpful if ppdc had "predefined macros", the same way that
the C preprocessor has a number of predefined macros:
http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros
In particular, having a predefined macro for CUPS_VERSION for being able
to conditionally include elements based on the version of CUPS would be
very useful. A "HOST_PLATFORM" or similar for indicating the platform
(Mac OS X, Linux, etc.) where ppdc is being run would also be useful.
Others should also be considered.
Link: http://www.cups.org/str.php?L3203
Version: -feature
More information about the cups
mailing list