From e3fb2f11d92e7a1df9fc1a83ba5d8bd7a5ca18fc Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 10 Jul 2017 19:52:31 +0800 Subject: 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. --- source/tools/mudraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/tools') 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" -- cgit v1.2.3