diff options
author | shane <shane@noemail.net> | 2009-09-22 13:25:00 +0000 |
---|---|---|
committer | shane <shane@noemail.net> | 2009-09-22 13:25:00 +0000 |
commit | 3e82c1d99b5720fb2daec15b8ad872f4be44877e (patch) | |
tree | 161fb17aea02863af54cd52bc91c9e9d0e0b6e36 /src | |
parent | ba9108b84ab3dc53fea96dfe8ea7bfd725629762 (diff) | |
download | sqlite-3e82c1d99b5720fb2daec15b8ad872f4be44877e.tar.gz sqlite-3e82c1d99b5720fb2daec15b8ad872f4be44877e.zip |
Allow specific exclusion of localtime_s() usage on Windows.
FossilOrigin-Name: 216bcda7d2818efda55849d5cb84aa483bc6429b
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index 0429a6414..abea60cec 100644 --- a/src/date.c +++ b/src/date.c @@ -460,7 +460,7 @@ static sqlite3_int64 localtimeOffset(DateTime *p){ y.m = sLocal.tm_min; y.s = sLocal.tm_sec; } -#elif defined(HAVE_LOCALTIME_S) +#elif defined(HAVE_LOCALTIME_S) && HAVE_LOCALTIME_S { struct tm sLocal; localtime_s(&sLocal, &t); |