From ad817b9b2b0622ee2b3b219197dc1a5810087772 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 23 Mar 2015 11:11:08 -0500 Subject: [PATCH] [libpng17] Revised comment about PNG_RELEASE_BUILD in pngpriv.h, to say Use -DPNG_RELEASE_BUILD in CFLAGS or "#define PNG_RELEASE_BUILD 1" in pngusr.h to turn on the release compile path. --- pngpriv.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pngpriv.h b/pngpriv.h index 138505a7e..2e70a87a5 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -338,8 +338,11 @@ * default is just to use PNG_LIBPNG_BUILD_BASE_TYPE. Set this in CPPFLAGS * with either: * - * -DPNG_RELEASE_BUILD=1 Turns on the release compile path + * -DPNG_RELEASE_BUILD Turns on the release compile path * -DPNG_RELEASE_BUILD=0 Turns it off + * or in your pngusr.h with + * #define PNG_RELEASE_BUILD=1 Turns on the release compile path + * #define PNG_RELEASE_BUILD=0 Turns it off */ #ifndef PNG_RELEASE_BUILD # define PNG_RELEASE_BUILD (PNG_LIBPNG_BUILD_BASE_TYPE >= PNG_LIBPNG_BUILD_RC)