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

Cleanup localtime() support for Windows CE.

FossilOrigin-Name: 39759a553208d8ef72964bdd539a0883e1d99cf6
This commit is contained in:
mistachkin
2016-01-23 01:54:15 +00:00
parent 4cfea5c794
commit 6cc16fc070
5 changed files with 32 additions and 15 deletions

View File

@@ -418,6 +418,7 @@ static void clearYMD_HMS_TZ(DateTime *p){
p->validTZ = 0;
}
#ifndef SQLITE_OMIT_LOCALTIME
/*
** On recent Windows platforms, the localtime_s() function is available
** as part of the "Secure CRT". It is essentially equivalent to
@@ -436,7 +437,6 @@ static void clearYMD_HMS_TZ(DateTime *p){
#define HAVE_LOCALTIME_S 1
#endif
#ifndef SQLITE_OMIT_LOCALTIME
/*
** The following routine implements the rough equivalent of localtime_r()
** using whatever operating-system specific localtime facility that