summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/patches/sqlite-3.5.6-wince.patch
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:34:13 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:34:13 (GMT)
commit67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch)
tree1dbf50b3dff8d5ca7e9344733968c72704eb15ff /src/3rdparty/patches/sqlite-3.5.6-wince.patch
downloadQt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip
Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz
Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2
Long live Qt!
Diffstat (limited to 'src/3rdparty/patches/sqlite-3.5.6-wince.patch')
-rw-r--r--src/3rdparty/patches/sqlite-3.5.6-wince.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/3rdparty/patches/sqlite-3.5.6-wince.patch b/src/3rdparty/patches/sqlite-3.5.6-wince.patch
new file mode 100644
index 0000000..02965f8
--- /dev/null
+++ b/src/3rdparty/patches/sqlite-3.5.6-wince.patch
@@ -0,0 +1,19 @@
+--- 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.
+ */