Fixed sqlite for Windows CE.
authorJanne Anttila <janne.anttila@digia.com>
Tue, 4 Oct 2011 12:30:40 +0000 (15:30 +0300)
committerQt by Nokia <qt-info@nokia.com>
Sat, 14 Jan 2012 02:54:18 +0000 (03:54 +0100)
commit1135aeb1d89b802ab3e3b7cc2c32122e9b91770f
tree330fed9a9fd8973dcae6059c84660eb7d98b3011
parentbdce61002255b5f8b3213e93175cefdfebfde2cc
Fixed sqlite for Windows CE.

Windows CE does not declare the localtime function, for this reason
sqlite3.c defines it for Windows CE. However the localtime define
was too late in sqlite.c code since the osLocaltime function
introduced inside ifndef SQLITE_OMIT_LOCALTIME needs it also.

Task-number: QTBUG-22508
Change-Id: I97b9bc6316809178cbcf7e304c5dcd7deb9005cb
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
src/3rdparty/sqlite/sqlite3.c