aboutsummaryrefslogtreecommitdiffstats
path: root/sqlite3ext.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2014-08-12 02:03:24 +0000
committerPeter Wemm <peter@FreeBSD.org>2014-08-12 02:03:24 +0000
commit20a71b36085f6f03fc7a2f7adeab16d09410b4cf (patch)
tree47b46bd26e52405a6f0881a525c62de183c27a54 /sqlite3ext.h
parentd8150fbab95feec5a1cc894f625d08b5fa9fe266 (diff)
downloadsrc-vendor/sqlite3/sqlite-3080500.tar.gz
src-vendor/sqlite3/sqlite-3080500.zip
Vendor import sqlite-3.8.5 (sqlite-autoconf-3080500), minus tea/*vendor/sqlite3/sqlite-3080500
Diffstat (limited to 'sqlite3ext.h')
-rw-r--r--sqlite3ext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlite3ext.h b/sqlite3ext.h
index 928bb3bad9dd..ecf93f62f6cd 100644
--- a/sqlite3ext.h
+++ b/sqlite3ext.h
@@ -474,11 +474,14 @@ struct sqlite3_api_routines {
** extension */
# define SQLITE_EXTENSION_INIT1 const sqlite3_api_routines *sqlite3_api=0;
# define SQLITE_EXTENSION_INIT2(v) sqlite3_api=v;
+# define SQLITE_EXTENSION_INIT3 \
+ extern const sqlite3_api_routines *sqlite3_api;
#else
/* This case when the file is being statically linked into the
** application */
# define SQLITE_EXTENSION_INIT1 /*no-op*/
# define SQLITE_EXTENSION_INIT2(v) (void)v; /* unused parameter */
+# define SQLITE_EXTENSION_INIT3 /*no-op*/
#endif
#endif /* _SQLITE3EXT_H_ */