Fix WEC2013 build of sqlite3.
Change-Id: Iaa953df941d888b8ae1a590dd728a1d819d7e604 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
parent
19ed646bce
commit
f21d86b747
2
src/3rdparty/sqlite/sqlite3.c
vendored
2
src/3rdparty/sqlite/sqlite3.c
vendored
@ -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;
|
||||
@ -34897,6 +34898,7 @@ struct tm *__cdecl localtime(const time_t *t)
|
||||
return &y;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user