]> git.lizzy.rs Git - sqlite3-cmake.git/blobdiff - src/sqlite3ext.h
Update Sqlite to 3.8.2
[sqlite3-cmake.git] / src / sqlite3ext.h
index 928bb3bad9dd643c301dd2b0ac22287a81284884..ecf93f62f6cd9c3bf5044e781556e06fe011ec0e 100644 (file)
@@ -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_ */