[cups-devel] How to check for cups version dynamically or statically

Mike Sweet msweet at apple.com
Fri Sep 29 09:15:21 PDT 2017


The cups/cups.h header defines CUPS_MAJOR_VERSION, CUPS_MINOR_VERSION, and CUPS_PATCH_VERSION for compile time version checks.

Sent from my iPhone

> On Sep 28, 2017, at 2:54 PM, sarat12us <sarat12us at gmail.com> wrote:
> 
> 
> something like #ifdef CUPS_1.6 ELSE #ENDIF
> And CentOS version version like #ifdef CENT_OS ELSE #ENDIF
> This in C++ code
> 
> 
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://lists.cups.org/mailman/listinfo/cups-devel


More information about the cups-devel mailing list