src/3rdparty/patches/sqlite-3.5.6-wince.patch
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 --- sqlite3.c.orig	2008-02-06 16:03:28.000000000 +0100
       
     2 +++ sqlite3.c	2008-02-13 00:00:00.000000000 +0100
       
     3 @@ -8837,6 +8837,16 @@
       
     4  }
       
     5  
       
     6  /*
       
     7 +** Windows CE does not declare the localtime
       
     8 +** function as it is not defined anywhere.
       
     9 +** Anyway we need the forward-declaration to be
       
    10 +** able to define it later on.
       
    11 +*/
       
    12 +#if defined(_WIN32_WCE) && (_WIN32_WCE >= 0x600)
       
    13 +struct tm *__cdecl localtime(const time_t *t);
       
    14 +#endif
       
    15 +
       
    16 +/*
       
    17  ** Compute the difference (in days) between localtime and UTC (a.k.a. GMT)
       
    18  ** for the time value p where p is in UTC.
       
    19  */