freebsd-dev/compat_sqlite3_errstr.c

19 lines
193 B
C
Raw Normal View History

2014-11-22 18:08:25 +00:00
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_SQLITE3_ERRSTR
int dummy;
#else
const char *
sqlite3_errstr(int rc)
{
return(rc ? "unknown error" : "not an error");
}
#endif