1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Allow specific exclusion of localtime_s() usage on Windows.

FossilOrigin-Name: 216bcda7d2818efda55849d5cb84aa483bc6429b
This commit is contained in:
shane
2009-09-22 13:25:00 +00:00
parent ba9108b84a
commit 3e82c1d99b
6 changed files with 12 additions and 12 deletions

View File

@@ -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);