From 449db5a9c1c8f36e71174ef987b79845598b027d Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 21 Jul 2012 13:18:42 -0500 Subject: [PATCH] [libpng16] Check for existence of __GNUC_MINOR__ before testing its value (This is probably unnecessary because it's inside a __GNUC__ block.) --- pngconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngconf.h b/pngconf.h index 3e785f6ec..1ff620785 100644 --- a/pngconf.h +++ b/pngconf.h @@ -382,7 +382,7 @@ __attribute__((__deprecated__)) # endif # endif -# if ((__GNUC__ != 3) || (__GNUC_MINOR__ >= 1)) +# if ((__GNUC__ != 3) || !defined(__GNUC_MINOR__) || (__GNUC_MINOR__ >= 1)) # ifndef PNG_RESTRICT # define PNG_RESTRICT __restrict # endif