From 80b67e47e8ea5ea01d7ebb4a54aa86260d3e48b4 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 21 Jul 2012 12:56:46 -0500 Subject: [PATCH] [libpng16] Added default blank "#define PNG_RESTRICT" to pngconf.h This has been missing since the feature was introduced in libpng-1.6.0beta04. --- pngconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pngconf.h b/pngconf.h index 46e997aa3..3e785f6ec 100644 --- a/pngconf.h +++ b/pngconf.h @@ -435,6 +435,9 @@ #ifndef PNG_PRIVATE # define PNG_PRIVATE /* This is a private libpng function */ #endif +#ifndef PNG_RESTRICT +# define PNG_RESTRICT /* The C99 "restrict" feature */ +#endif #ifndef PNG_FP_EXPORT /* A floating point API. */ # ifdef PNG_FLOATING_POINT_SUPPORTED # define PNG_FP_EXPORT(ordinal, type, name, args)\