diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-22 18:08:25 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-22 18:08:25 +0000 |
commit | 52c0e9552d2c7c67a39132a9eb3dc5a876a7429e (patch) | |
tree | 7ef9f92f249a503d1c005f88d483481725db364a /compat_sqlite3_errstr.c | |
parent | 53f5f26c3e5c6d5c310f44f1882afbd9cdd0297b (diff) |
Notes
Diffstat (limited to 'compat_sqlite3_errstr.c')
-rw-r--r-- | compat_sqlite3_errstr.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/compat_sqlite3_errstr.c b/compat_sqlite3_errstr.c new file mode 100644 index 000000000000..b8d6eb58f1cc --- /dev/null +++ b/compat_sqlite3_errstr.c @@ -0,0 +1,18 @@ +#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 |