Skip to content

Commit 5c74348

Browse files
committed
fix type declaration for compilation under vs
1 parent 522a3d0 commit 5c74348

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/func.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,13 +1428,14 @@ static void groupConcatFinalize(sqlite3_context *context){
14281428
*/
14291429
void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
14301430
int rc = sqlite3_overload_function(db, "MATCH", 2);
1431+
#ifndef OMIT_EXPORT
1432+
extern void sqlcipher_exportFunc(sqlite3_context *, int, sqlite3_value **);
1433+
#endif
14311434
assert( rc==SQLITE_NOMEM || rc==SQLITE_OK );
14321435
if( rc==SQLITE_NOMEM ){
14331436
db->mallocFailed = 1;
14341437
}
1435-
14361438
#ifndef OMIT_EXPORT
1437-
extern void sqlcipher_exportFunc(sqlite3_context *, int, sqlite3_value **);
14381439
sqlite3CreateFunc(db, "sqlcipher_export", 1, SQLITE_TEXT, 0, sqlcipher_exportFunc, 0, 0, 0);
14391440
#endif
14401441
}

0 commit comments

Comments
 (0)