diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-03-08 21:10:25 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-03-08 21:10:25 -0600 |
commit | c3cd22b40434c70a55316b91d57c35af9c34a041 (patch) | |
tree | 378ac0f2de57f9f06f2635b826495addfe583f85 /pngmem.c | |
parent | b709c4aedce610f70f934abe7d85fbe888d6b4e8 (diff) | |
download | libpng-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 */ |