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.
|
** create a substitute.
|
||||||
*/
|
*/
|
||||||
/* #include <time.h> */
|
/* #include <time.h> */
|
||||||
|
# if _WIN32_WCE < 0x800
|
||||||
struct tm *__cdecl localtime(const time_t *t)
|
struct tm *__cdecl localtime(const time_t *t)
|
||||||
{
|
{
|
||||||
static struct tm y;
|
static struct tm y;
|
||||||
@ -34896,6 +34897,7 @@ struct tm *__cdecl localtime(const time_t *t)
|
|||||||
y.tm_sec = pTm.wSecond;
|
y.tm_sec = pTm.wSecond;
|
||||||
return &y;
|
return &y;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)]
|
#define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user