summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/context.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-01-09 16:11:04 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-01-09 17:46:26 +0100
commit50b39c939345c36eb5e95c8a71ccdb8cd24c9aad (patch)
treecc5db7cd564628a7217ffa16967230c1353296aa /include/mupdf/fitz/context.h
parent18d95a4ee602435899eae941ed0215fa1f71a01b (diff)
downloadmupdf-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.h2
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