--- a/src/database/sqlite3.c +++ b/src/database/sqlite3.c @@ -188636,8 +188636,7 @@ ** Return a static string containing the name corresponding to the error code ** specified in the argument. */ -#if defined(SQLITE_NEED_ERR_NAME) -SQLITE_PRIVATE const char *sqlite3ErrName(int rc){ +SQLITE_API const char *sqlite3ErrName(int rc){ const char *zName = 0; int i, origRc = rc; for(i=0; i<2 && zName==0; i++, rc &= 0xff){ @@ -188746,7 +188745,6 @@ } return zName; } -#endif /* ** Return a static string that describes the kind of error specified in the