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. Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (forward-ported from commitbb10fb1649d30b) Change-Id: Ief6d8ed1cad51fa92a333a20c5dfe781d19761eb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (forward-ported from commitea70ec8711) Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
parent
06d1c149c7
commit
c5eba649b6
|
|
@ -14423,6 +14423,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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue