From 5c9d74bb791ad995ffc3bc093d6bd5a89dc0175d Mon Sep 17 00:00:00 2001 From: jiaojinxing Date: Wed, 16 Mar 2022 22:02:30 +0800 Subject: [PATCH] Updated libsqlite3 compile pre-defined macro. --- libsqlite3.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libsqlite3.mk b/libsqlite3.mk index 46e8664..885f338 100644 --- a/libsqlite3.mk +++ b/libsqlite3.mk @@ -43,7 +43,16 @@ LOCAL_INC_PATH := #********************************************************************************************************* # Pre-defined macro (eg. -DYOUR_MARCO=1) #********************************************************************************************************* -LOCAL_DSYMBOL := -D__NEED_LIKELY__ +LOCAL_DSYMBOL := \ +-DSQLITE_THREADSAFE=1 \ +-DSQLITE_ENABLE_FTS3=1 \ +-DSQLITE_ENABLE_FTS3_PARENTHESIS=1 \ +-DSQLITE_ENABLE_FTS4=1 \ +-DSQLITE_ENABLE_FTS5=1 \ +-DSQLITE_ENABLE_JSON1=1 \ +-DSQLITE_ENABLE_RTREE=1 \ +-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \ +-D__NEED_LIKELY__ #********************************************************************************************************* # Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")