opnsense-src/contrib/mdocml/compat_sqlite3_errstr.c

17 lines
161 B
C
Raw Normal View History

2014-11-22 13:08:25 -05:00
#include "config.h"
#if HAVE_SQLITE3_ERRSTR
2014-11-22 13:08:25 -05:00
int dummy;
#else
const char *
sqlite3_errstr(int rc)
{
2016-01-15 18:08:59 -05:00
return rc ? "unknown error" : "not an error";
2014-11-22 13:08:25 -05:00
}
#endif