[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.darwin b/scripts/makefile.darwin
index a9a6430..9732ae5 100644
--- a/scripts/makefile.darwin
+++ b/scripts/makefile.darwin
@@ -41,8 +41,8 @@
 RANLIB=ranlib
 RM_F=/bin/rm -f
 
-# CFLAGS=--DPNG_CONFIGURE_LIBPNG I$(ZLIBINC) -W -Wall -O3 -funroll-loops
-CFLAGS=-DPNG_CONFIGURE_LIBPNG -I$(ZLIBINC) -W -Wall -O -funroll-loops
+# CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops
+CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops
 LDFLAGS=-L. -L$(ZLIBLIB) -lpng14 -lz
 
 INCPATH=$(prefix)/include