diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 16:11:04 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 17:46:26 +0100 |
commit | 50b39c939345c36eb5e95c8a71ccdb8cd24c9aad (patch) | |
tree | cc5db7cd564628a7217ffa16967230c1353296aa /include/mupdf/fitz/context.h | |
parent | 18d95a4ee602435899eae941ed0215fa1f71a01b (diff) | |
download | mupdf-50b39c939345c36eb5e95c8a71ccdb8cd24c9aad.tar.xz |
Be consistent in use of DEBUG/NDEBUG macros.
Only use NDEBUG as it's the one that most environments already set, so
is likely to lead to the least amount of confusion if compiling with a
custom build system.
Diffstat (limited to 'include/mupdf/fitz/context.h')
-rw-r--r-- | include/mupdf/fitz/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h index b9363ebd..ba4255e3 100644 --- a/include/mupdf/fitz/context.h +++ b/include/mupdf/fitz/context.h @@ -571,7 +571,7 @@ extern fz_alloc_context fz_alloc_default; /* Default locks */ extern fz_locks_context fz_locks_default; -#if defined(MEMENTO) || defined(DEBUG) +#if defined(MEMENTO) || !defined(NDEBUG) #define FITZ_DEBUG_LOCKING #endif |