1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD defined.

FossilOrigin-Name: 3df3e79b56821201b4f5ecd23f94d485745c48c3
This commit is contained in:
dan
2010-11-22 17:26:07 +00:00
parent 18826195f2
commit 15eac4e48a
3 changed files with 8 additions and 8 deletions

View File

@@ -5000,7 +5000,7 @@ static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
#if defined(NO_GETTOD)
time_t t;
time(&t);
*piNow = ((sqlite3_int64)i)*1000 + unixEpoch;
*piNow = ((sqlite3_int64)t)*1000 + unixEpoch;
#elif OS_VXWORKS
struct timespec sNow;
clock_gettime(CLOCK_REALTIME, &sNow);