[devel] Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" to pngpriv.h,

otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
This commit is contained in:
Glenn Randers-Pehrson 2010-02-19 11:02:41 -06:00
parent 6a9e480512
commit 81dab093fc
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <limits.h>
#endif