diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 16:53:21 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-01-17 17:48:54 +0000 |
commit | 08de3aa3254690425607ceb859d808f7d0852a84 (patch) | |
tree | 6c8dbe599855ce882981c7f374df91318db0453c /source | |
parent | cc8fba5b4e43bf4c635beee6882284605e9f8076 (diff) | |
download | mupdf-08de3aa3254690425607ceb859d808f7d0852a84.tar.xz |
Remove preprocessor defines from vcproj.
Keeping them up to date is difficult and prone to errors, so we move
setting the USE_OUTPUT_DEBUG_STRING and FZ_LARGEFILE flags to the source
instead of relying on project file definitions.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/error.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/fitz/error.c b/source/fitz/error.c index 2ac091e7..ac54e010 100644 --- a/source/fitz/error.c +++ b/source/fitz/error.c @@ -1,8 +1,11 @@ #include "mupdf/fitz.h" -#ifdef USE_OUTPUT_DEBUG_STRING +#ifdef _MSC_VER +#ifndef NDEBUG +#define USE_OUTPUT_DEBUG_STRING #include <windows.h> #endif +#endif /* Warning context */ |