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:
Bjoern Breitmeyer 2015-03-27 15:46:05 +01:00 committed by Mark Brand
parent 19ed646bce
commit f21d86b747

View File

@ -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)]