diff options
author | Simon Bünzli <zeniko@gmail.com> | 2014-07-18 22:26:38 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2014-08-19 17:09:11 +0200 |
commit | 5462659976b618a43493a09a3e5cfe043816ae94 (patch) | |
tree | 012d98b59de08a986f0cabded8bc63113735d6c5 /source/fitz | |
parent | a27c538cc3262377166251c73c9b09ff7f67192b (diff) | |
download | mupdf-5462659976b618a43493a09a3e5cfe043816ae94.tar.xz |
don't always write to Visual Studio's Output console in debug builds
We build MuPDF without NDEBUG defined in order to check assertions but
don't want Visual Studio's Output console flooded with warnings for
broken documents. So instead of always defining USE_OUTPUT_DEBUG_STRING
for debug builds under Windows, allow the VS solutions to define it
when desired and to omit it when not.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/error.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/fitz/error.c b/source/fitz/error.c index c5d98c92..e8225ee3 100644 --- a/source/fitz/error.c +++ b/source/fitz/error.c @@ -1,9 +1,5 @@ #include "mupdf/fitz.h" -#if defined(_WIN32) && !defined(NDEBUG) -#define USE_OUTPUT_DEBUG_STRING -#endif - #ifdef USE_OUTPUT_DEBUG_STRING #include <windows.h> #endif |