[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
diff --git a/scripts/makefile.linux b/scripts/makefile.linux
index 7ec3f12..a4ad084 100644
--- a/scripts/makefile.linux
+++ b/scripts/makefile.linux
@@ -51,7 +51,7 @@
# for pgcc version 2.95.1, -O3 is buggy; don't use it.
-CFLAGS=-DPNG_CONFIGURE_LIBPNG -I$(ZLIBINC) -W -Wall -O3 -funroll-loops \
+CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops \
$(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng14 -lz -lm