[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

@@ -31,6 +31,18 @@
#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
* 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