diff options
author | Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> | 2015-03-27 15:46:05 +0100 |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2015-06-07 09:29:16 +0000 |
commit | f21d86b74766acc90b3bec7514a53441c43022d3 (patch) | |
tree | a3394c06d074c1e0c70b3a1464507ec231d64b85 /src/3rdparty/sqlite | |
parent | 19ed646bcee99b0cc015c970a0978c3dbd86f890 (diff) |
Fix WEC2013 build of sqlite3.
Change-Id: Iaa953df941d888b8ae1a590dd728a1d819d7e604
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/3rdparty/sqlite')
-rw-r--r-- | src/3rdparty/sqlite/sqlite3.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <time.h> */ +# 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)] |