--- libpng-1.2.16/pngconf.h 2007-01-31 14:22:33.000000000 +0100 +++ freeimage_libpng/pngconf.h 2007-09-08 20:30:40.000000000 +0200 @@ -19,6 +19,22 @@ #define PNG_1_2_X +/* ------------------------------------------------ */ +/** Added by FreeImage +*/ +#define PNG_iTXt_SUPPORTED +#define PNG_READ_iTXt_SUPPORTED +#define PNG_WRITE_iTXt_SUPPORTED + +#ifdef _WIN32 +#define PNG_ASSEMBLER_CODE_SUPPORTED +#else +#undef PNG_ASSEMBLER_CODE_SUPPORTED +#define PNG_NO_ASSEMBLER_CODE +#define PNG_NO_MMX_CODE +#endif // _WIN32 +/* ------------------------------------------------ */ + /* * PNG_USER_CONFIG has to be defined on the compiler command line. This * includes the resource compiler for Windows DLL configurations.