[devel] Moved the 'config.h' support from pngconf.h to pngpriv.h

This commit is contained in:
Glenn Randers-Pehrson 2010-03-09 16:45:06 -06:00
parent f2c99bd5dc
commit dc6182a307
3 changed files with 13 additions and 11 deletions

View File

@ -90,6 +90,7 @@ version 1.5.0beta13 [March 9, 2010]
PNG_USER_CHUNK_MALLOC_MAX nor PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED PNG_USER_CHUNK_MALLOC_MAX nor PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
is defined. is defined.
Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3 Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3
Moved the 'config.h' support from pngconf.h to pngpriv.h
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -26,17 +26,6 @@
# include <limits.h> # include <limits.h>
#endif #endif
/* Added at libpng-1.2.9 */
/* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure"
* script.
*/
#ifdef PNG_CONFIGURE_LIBPNG
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
#endif
/* /*
* Added at libpng-1.2.8 * Added at libpng-1.2.8
* *

View File

@ -31,6 +31,18 @@
#include <stdlib.h> #include <stdlib.h>
/* Added at libpng-1.2.9 */
/* Moved to pngpriv.h at libpng-1.5.0 */
/* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure"
* script.
*/
#ifdef PNG_CONFIGURE_LIBPNG
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
#endif
/* The functions exported by PNG_EXTERN are internal functions, which /* The functions exported by PNG_EXTERN are internal functions, which
* aren't usually used outside the library (as far as I know), so it is * aren't usually used outside the library (as far as I know), so it is
* debatable if they should be exported at all. In the future, when it * debatable if they should be exported at all. In the future, when it