On 10/9/2013 9:50 AM, Eric Minbiole wrote:
With this change, tests pass again:#if sizeof(p->nRow) == sizeof(long long) sqlite3_snprintf(24, zRet, "%lld", p->nRow); #elseif sizeof(p->Row) = sizeof(long) sqlite3_snprintf(24, zRet, "%ld", p->nRow); #else sqlite3_snprintf(24, zRet, "%d", p->nRow); #endifSlightly off-topic, but I didn't think that sizeof() could be used as part of a preprocessor directive? (I.e., that #if sizeof(x) doesn't work as intended, or at least not portably.)
#elseif also looks like a compiler-specific non-portable extension. The correct spelling is #elif
-- Igor Tandetnik _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

