From 7ce13d00db9eb265665e37a5ec923e47d6e3ce55 Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Mon, 9 Jan 2012 15:35:32 +0200 Subject: [PATCH] libpng config for WEC7 WEC7 is missing some time conversion related functions -> configured libpng for WinCE accordingly. Task-number: QTBUG-22506 Change-Id: Ia4038aaf44944883be8f3e25817a638118c1a73d Reviewed-by: aavit --- src/3rdparty/libpng/pnglibconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/3rdparty/libpng/pnglibconf.h b/src/3rdparty/libpng/pnglibconf.h index b1d2169105..c46dde3a0f 100644 --- a/src/3rdparty/libpng/pnglibconf.h +++ b/src/3rdparty/libpng/pnglibconf.h @@ -100,7 +100,9 @@ #define PNG_WRITE_SHIFT_SUPPORTED #define PNG_PROGRESSIVE_READ_SUPPORTED #define PNG_READ_SHIFT_SUPPORTED -#define PNG_CONVERT_tIME_SUPPORTED +#ifndef _WIN32_WCE + #define PNG_CONVERT_tIME_SUPPORTED +#endif #define PNG_READ_USER_TRANSFORM_SUPPORTED #define PNG_READ_INT_FUNCTIONS_SUPPORTED #define PNG_READ_USER_CHUNKS_SUPPORTED