From fc2fe07a3cf9cab9ea918e609f90c6549cc5731e Mon Sep 17 00:00:00 2001
From: Urias McCullough <umccullough@gmail.com>
Date: Sat, 28 Jan 2012 21:39:15 -0800
Subject: [PATCH 5/5] Conditionally set DEBUG if it's not already defined in pdf printer driver
* This allows building with DEBUG=2 and avoiding warnings.
---
src/add-ons/print/drivers/pdf/source/Link.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/add-ons/print/drivers/pdf/source/Link.cpp b/src/add-ons/print/drivers/pdf/source/Link.cpp
index 083eadb..25ba1ec 100644
a
|
b
|
THE SOFTWARE.
|
27 | 27 | |
28 | 28 | */ |
29 | 29 | |
30 | | #define DEBUG 1 |
| 30 | #ifndef DEBUG |
| 31 | #define DEBUG 1 |
| 32 | #endif |
| 33 | |
31 | 34 | #include <Debug.h> |
32 | 35 | #include <ctype.h> |
33 | 36 | #include "Link.h" |