summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-10-21 02:51:12 (GMT)
committerBill King <bill.king@nokia.com>2009-10-21 05:02:06 (GMT)
commit0d61cf15358e1ff0b5125542ed4a9c4b7e96c141 (patch)
tree6135d02a351f8db34a8219c26a777325c316aaeb /src/3rdparty
parentc42bc88a9f366899747945a4478492cf765c7166 (diff)
downloadQt-0d61cf15358e1ff0b5125542ed4a9c4b7e96c141.zip
Qt-0d61cf15358e1ff0b5125542ed4a9c4b7e96c141.tar.gz
Qt-0d61cf15358e1ff0b5125542ed4a9c4b7e96c141.tar.bz2
Fixes: WebKit Windows CE build
Details: Details: Make localtime a static function. This is needed for linking sqlite3.lib into webkit and it generally makes sense for our build of sqlite using the amalgamated build. (cherry picked from commit 5e326c74239eecbd3e64df90ebbafaf51530d43d)
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/sqlite/sqlite3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c
index e61cd38..90a64ba 100644
--- a/src/3rdparty/sqlite/sqlite3.c
+++ b/src/3rdparty/sqlite/sqlite3.c
@@ -27489,7 +27489,7 @@ static char *utf8ToMbcs(const char *zFilename){
** WindowsCE does not have a localtime() function. So create a
** substitute.
*/
-struct tm *__cdecl localtime(const time_t *t)
+static struct tm *__cdecl localtime(const time_t *t)
{
static struct tm y;
FILETIME uTm, lTm;