From 0d61cf15358e1ff0b5125542ed4a9c4b7e96c141 Mon Sep 17 00:00:00 2001 From: Bill King Date: Wed, 21 Oct 2009 12:51:12 +1000 Subject: 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) --- src/3rdparty/sqlite/sqlite3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12