printers: Add missing definition of HAVE_CUPS_1_6
Commit 1532d7ef
forgot to actually define HAVE_CUPS_1_6
when building against CUPS 1.6
https://bugzilla.gnome.org/show_bug.cgi?id=683441
This commit is contained in:
parent
dbff39026b
commit
49797e8ae2
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include "pp-utils.h"
|
||||
|
||||
#if (CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5)
|
||||
#define HAVE_CUPS_1_6 1
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_CUPS_1_6
|
||||
#define ippGetCount(attr) attr->num_values
|
||||
#define ippGetValueTag(attr) attr->value_tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue