1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Build fixes for OSTRACE enhancements.

FossilOrigin-Name: f79c236fc537ecee1ea7448a3e3216a2415561a1
This commit is contained in:
mistachkin
2015-03-31 19:06:46 +00:00
parent 2c32ed7a58
commit d25675f897
7 changed files with 27 additions and 19 deletions

View File

@@ -1194,7 +1194,7 @@ void sqlite3RollbackAll(sqlite3 *db, int tripCode){
** Return a static string containing the name corresponding to the error code
** specified in the argument.
*/
#if defined(SQLITE_DEBUG) && \
#if (defined(SQLITE_DEBUG) && SQLITE_OS_WIN) || \
(defined(SQLITE_TEST) || defined(SQLITE_FORCE_OS_TRACE))
const char *sqlite3ErrName(int rc){
const char *zName = 0;