1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Enable adding JSON1 by appending the json1.c source file to the amalgamation

and compiling with -DSQLITE_ENABLE_JSON1

FossilOrigin-Name: 33404b2029120d4aabe1e25d484871810777e934
This commit is contained in:
drh
2015-09-26 17:44:59 +00:00
parent 32498f1321
commit 2f20e13b83
8 changed files with 47 additions and 29 deletions

View File

@@ -4619,7 +4619,7 @@ int SQLITE_CDECL main(int argc, char **argv){
}
data.out = stdout;
#ifdef SQLITE_ENABLE_JSON1
#ifdef SQLITE_SHELL_JSON1
{
extern int sqlite3_json_init(sqlite3*);
sqlite3_auto_extension((void(*)(void))sqlite3_json_init);