diff options
author | Vincent Untz <vuntz@suse.com> | 2012-10-12 17:35:25 +0200 |
---|---|---|
committer | Vincent Untz <vuntz@suse.com> | 2012-10-12 17:41:03 +0200 |
commit | dcffa695e2ca74a673dcf613e651106a8f5bb233 (patch) | |
tree | f4a5da0894680c868a8b4ca3f731e826b52cc685 | |
parent | a11e906f6a900930b0f7d5ddb808a346fc6aa7b1 (diff) |
Fix detection of CUPS version
This really fixes build with CUPS >= 1.6, this time.
Thanks to Jürg Billeter <j@bitron.ch> for spotting the issue.
-rw-r--r-- | src/cups.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ #include "cups.h" -#if (!(CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5)) +#if ((CUPS_VERSION_MAJOR < 1) || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 6)) #define ippGetCount(attr) attr->num_values #define ippGetGroupTag(attr) attr->group_tag #define ippGetValueTag(attr) attr->value_tag |