diff options
author | Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> | 2013-04-11 17:09:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-16 19:45:11 +0200 |
commit | fb1649d30b0542a69a534218e96950d0533dec8b (patch) | |
tree | b947df1476562601dfd6a1f5effa39c3c6efc010 /src/3rdparty/sqlite | |
parent | 0084272c5cab6e03999890956f238c2b62a3d818 (diff) | |
download | qtbase-fb1649d30b0542a69a534218e96950d0533dec8b.tar.gz |
Fixed CE build of sqlite3
The updated sqlite3 lacks a forward declaration of localtime.
Depending on the CE version that forward declaration
was sometimes available.
Change-Id: Iec7de1167702ccec46b62f63b65a4710231c8534
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/3rdparty/sqlite')
-rw-r--r-- | src/3rdparty/sqlite/sqlite3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c index 37ee4ad380..a22f57fbe1 100644 --- a/src/3rdparty/sqlite/sqlite3.c +++ b/src/3rdparty/sqlite/sqlite3.c @@ -14238,6 +14238,10 @@ static void clearYMD_HMS_TZ(DateTime *p){ #define HAVE_LOCALTIME_S 1 #endif +#if SQLITE_OS_WINCE >= 1 +struct tm *__cdecl localtime(const time_t *t); +#endif + #ifndef SQLITE_OMIT_LOCALTIME /* ** The following routine implements the rough equivalent of localtime_r() |