summaryrefslogtreecommitdiff
path: root/pngmem.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-03-08 21:10:25 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-03-08 21:10:25 -0600
commitc3cd22b40434c70a55316b91d57c35af9c34a041 (patch)
tree378ac0f2de57f9f06f2635b826495addfe583f85 /pngmem.c
parentb709c4aedce610f70f934abe7d85fbe888d6b4e8 (diff)
downloadlibpng-c3cd22b40434c70a55316b91d57c35af9c34a041.tar.gz
[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.
Diffstat (limited to 'pngmem.c')
-rw-r--r--pngmem.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pngmem.c b/pngmem.c
index 1b5943273..21ec12f80 100644
--- a/pngmem.c
+++ b/pngmem.c
@@ -17,12 +17,10 @@
* identify the replacement functions.
*/
-#define PNG_EXPOSE_INTERNAL_STRUCTURES
-#define PNG_NO_PEDANTIC_WARNINGS
-#include "png.h"
-#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
#include "pngpriv.h"
+#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
+
/* Borland DOS special memory handler */
#if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__)
/* If you change this, be sure to change the one in png.h also */