From 81dab093fcb1cdab0c564406661db958e5e7f686 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 19 Feb 2010 11:02:41 -0600 Subject: [PATCH] [devel] Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" to pngpriv.h, otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf". --- ANNOUNCE | 2 ++ CHANGES | 2 ++ pngconf.h | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/ANNOUNCE b/ANNOUNCE index eab158c17..6403ba7cc 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -59,6 +59,8 @@ version 1.5.0beta07 [February 19, 2010] Noted in scripts/makefile.mingw that it expects to be run under MSYS. Removed obsolete unused MMX-querying support from contrib/gregbook Added exported png_longjmp() function. + Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" at the top of pngpriv.h, + otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf". Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 480dc7981..574ee4fe5 100644 --- a/CHANGES +++ b/CHANGES @@ -2535,6 +2535,8 @@ version 1.5.0beta07 [February 19, 2010] wherever png_snprintf() is used to construct error and warning messages. Removed obsolete unused MMX-querying support from contrib/gregbook Added exported png_longjmp() function. + Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" at the top of pngpriv.h, + otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf". Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngconf.h b/pngconf.h index 55e225e82..27343655b 100644 --- a/pngconf.h +++ b/pngconf.h @@ -22,6 +22,11 @@ #ifndef PNGCONF_H #define PNGCONF_H +/* Added at libpng-1.2.43 */ +#ifdef _AIX +#define _ALL_SOURCE 1 +#endif + #ifndef PNG_NO_LIMITS_H # include #endif