Guest User

Untitled

a guest
Jan 15th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.70 KB | None | 0 0
  1. From fc23f56e41f6b7b85f377aa6a39d768a1bc0a82b Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?J=C3=BCrg=20Billeter?= <j@bitron.ch>
  3. Date: Fri, 12 Oct 2012 17:17:45 +0200
  4. Subject: [PATCH] Fix build with CUPS >= 1.6
  5.  
  6. ---
  7. src/cups.c | 2 +-
  8.  1 file changed, 1 insertion(+), 1 deletion(-)
  9.  
  10. diff --git a/src/cups.c b/src/cups.c
  11. index d45a315..183beb6 100644
  12. --- a/src/cups.c
  13. +++ b/src/cups.c
  14. @@ -49,7 +49,7 @@
  15.  
  16.  #include "cups.h"
  17.  
  18. -#if (!(CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5))
  19. +#if !((CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5))
  20.  #define ippGetCount(attr)     attr->num_values
  21.  #define ippGetGroupTag(attr)  attr->group_tag
  22.  #define ippGetValueTag(attr)  attr->value_tag
  23. --
  24. 1.7.11.2
Add Comment
Please, Sign In to add comment