[legacy] Define _ALL_SOURCE in pngconf.h when building with AIX compiler.

Otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
This commit is contained in:
Glenn Randers-Pehrson
2010-02-19 10:51:06 -06:00
parent 92960c86a2
commit a89dc3acff
6 changed files with 62 additions and 36 deletions

View File

@@ -23,7 +23,7 @@ LN_SF = ln -f -s
LIBNAME=libpng12
PNGMAJ = 0
PNGMIN = 1.2.43rc01
PNGMIN = 1.2.43rc02
PNGVER = $(PNGMAJ).$(PNGMIN)
prefix=/usr/local
@@ -48,7 +48,7 @@ LDDEBUG =
CRELEASE = -O2
LDRELEASE = -s
WARNMORE=-W -Wall
CFLAGS = -I$(ZLIBINC) $(WARNMORE) $(CRELEASE)
CFLAGS = -D_ALL_SOURCE -I$(ZLIBINC) $(WARNMORE) $(CRELEASE)
LDFLAGS = -L. -L$(ZLIBLIB) -lpng12 -lz -lm $(LDRELEASE)
# File extensions