On 11/22/2010 11:48 PM, Black, Michael (IS) wrote:
> Bug in 3.7.3?
> gcc -c -DNO_GETTOD sqlite3.c
> sqlite3.c: In function âunixCurrentTimeInt64â:
> sqlite3.c:27870: error: âiâ undeclared (first use in this function)
> sqlite3.c:27870: error: (Each undeclared identifier is reported only once
> sqlite3.c:27870: error: for each function it appears in.)
>
> static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
> static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000;
> #if defined(NO_GETTOD)
> time_t t;
> time(&t);
> *piNow = ((sqlite3_int64)i)*1000 + unixEpoch;
> #elif OS_VXWORKS
>
> I assume this is supposed to be "t" intead of "i" ??
Correct. Thanks for the report.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users