Skip to content

Commit 0cae85d

Browse files
committed
include ditto as a submodule for simpler building
1 parent d3ba066 commit 0cae85d

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ditto"]
2+
path = ditto
3+
url = ssh://[email protected]/ditto

ditto

Submodule ditto added at 4fd7986

src/func.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ static void groupConcatFinalize(sqlite3_context *context){
14371437
** of the built-in functions above are part of the global function set.
14381438
** This routine only deals with those that are not global.
14391439
*/
1440-
#include "ditto_funcs.c"
1440+
#include "ditto/ditto_funcs.c"
14411441
void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
14421442
int rc = sqlite3_overload_function(db, "MATCH", 2);
14431443
#ifndef OMIT_EXPORT
@@ -1447,7 +1447,7 @@ void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
14471447
if( rc==SQLITE_NOMEM ){
14481448
db->mallocFailed = 1;
14491449
}
1450-
#include "ditto_globals.c"
1450+
#include "ditto/ditto_globals.c"
14511451
#ifndef OMIT_EXPORT
14521452
sqlite3CreateFunc(db, "sqlcipher_export", 1, SQLITE_TEXT, 0, sqlcipher_exportFunc, 0, 0, 0);
14531453
#endif

0 commit comments

Comments
 (0)