Skip to content

Commit

Permalink
Fixed CE build of sqlite3
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
  • Loading branch information
bbreitmeyer authored and The Qt Project committed Apr 16, 2013
1 parent 0084272 commit fb1649d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/3rdparty/sqlite/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fb1649d

Please sign in to comment.