[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"

from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
This commit is contained in:
Glenn Randers-Pehrson
2010-03-08 21:10:25 -06:00
parent b709c4aedc
commit c3cd22b404
59 changed files with 697 additions and 731 deletions

3
png.c
View File

@@ -11,10 +11,7 @@
* and license in png.h
*/
#define PNG_EXPOSE_INTERNAL_STRUCTURES
#define PNG_NO_EXTERN
#define PNG_NO_PEDANTIC_WARNINGS
#include "png.h"
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */