From f21d86b74766acc90b3bec7514a53441c43022d3 Mon Sep 17 00:00:00 2001 From: Bjoern Breitmeyer Date: Fri, 27 Mar 2015 15:46:05 +0100 Subject: Fix WEC2013 build of sqlite3. Change-Id: Iaa953df941d888b8ae1a590dd728a1d819d7e604 Reviewed-by: Konstantin Ritt Reviewed-by: Mark Brand --- src/3rdparty/sqlite/sqlite3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c index 086fb3bcd6..71f6c1036d 100644 --- a/src/3rdparty/sqlite/sqlite3.c +++ b/src/3rdparty/sqlite/sqlite3.c @@ -34875,6 +34875,7 @@ static void winLogIoerr(int nRetry){ ** create a substitute. */ /* #include */ +# if _WIN32_WCE < 0x800 struct tm *__cdecl localtime(const time_t *t) { static struct tm y; @@ -34896,6 +34897,7 @@ struct tm *__cdecl localtime(const time_t *t) y.tm_sec = pTm.wSecond; return &y; } +# endif #endif #define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)] -- cgit v1.2.3