src/3rdparty/patches/sqlite-3.5.6-wince.patch
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 29 Apr 2010 15:15:16 +0300
branchRCL_3
changeset 17 4b6ee5efea19
parent 0 1918ee327afb
permissions -rw-r--r--
2010-17 9996a03743ab23f83c83c5bc7ade0f82f71b1506

--- sqlite3.c.orig	2008-02-06 16:03:28.000000000 +0100
+++ sqlite3.c	2008-02-13 00:00:00.000000000 +0100
@@ -8837,6 +8837,16 @@
 }
 
 /*
+** Windows CE does not declare the localtime
+** function as it is not defined anywhere.
+** Anyway we need the forward-declaration to be
+** able to define it later on.
+*/
+#if defined(_WIN32_WCE) && (_WIN32_WCE >= 0x600)
+struct tm *__cdecl localtime(const time_t *t);
+#endif
+
+/*
 ** Compute the difference (in days) between localtime and UTC (a.k.a. GMT)
 ** for the time value p where p is in UTC.
 */