summaryrefslogtreecommitdiff
path: root/source/tools/mudraw.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-07-10 19:52:31 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-07-10 21:59:13 +0800
commite3fb2f11d92e7a1df9fc1a83ba5d8bd7a5ca18fc (patch)
tree743cdbf9a594bae74b5e28c149f3b199bafd6443 /source/tools/mudraw.c
parentcca0f6ff702cfd9d78b538d190068d82e52f23a6 (diff)
downloadmupdf-e3fb2f11d92e7a1df9fc1a83ba5d8bd7a5ca18fc.tar.xz
Make threading a compile-time option and propagate it to all tools.
Also fix a typo causing the help message not to be shown when threading is enabled.
Diffstat (limited to 'source/tools/mudraw.c')
-rw-r--r--source/tools/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index d9b68571..b138714b 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -314,7 +314,7 @@ static void usage(void)
"\t-h -\theight (in pixels) (maximum height if -r is specified)\n"
"\t-f -\tfit width and/or height exactly; ignore original aspect ratio\n"
"\t-B -\tmaximum band_height (pgm, ppm, pam, png output only)\n"
-#ifdef MUDRAW_THREADS
+#ifndef DISABLE_MUTHREADS
"\t-T -\tnumber of threads to use for rendering (banded mode only)\n"
#endif
"\n"