Skip to content

Commit

Permalink
Merge pull request #17 from bricelam/math2
Browse files Browse the repository at this point in the history
Re-enable math functions
  • Loading branch information
ericsink committed Aug 9, 2023
2 parents 7e04899 + 393d54e commit be32caa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bld/android/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libe_sqlite3
LOCAL_MODULE_FILENAME := libe_sqlite3
LOCAL_CFLAGS := -O -DNDEBUG -DSQLITE_TEMP_STORE=3 -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_OS_UNIX
LOCAL_CFLAGS := -O -DNDEBUG -DSQLITE_TEMP_STORE=3 -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OS_UNIX
LOCAL_SRC_FILES = ../../../sqlite3/sqlite3.c

include $(BUILD_SHARED_LIBRARY)
Expand Down
2 changes: 1 addition & 1 deletion bld/android/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-14
target=android-21
4 changes: 2 additions & 2 deletions bld/cb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ IList<string> libs
var dest_project_properties = Path.Combine(dest_dir, "project.properties");
using (TextWriter tw = new StreamWriter(dest_project_properties))
{
tw.Write("target=android-14\n");
tw.Write("target=android-21\n");
}
}

Expand Down Expand Up @@ -1196,7 +1196,7 @@ static void add_basic_sqlite3_defines(Dictionary<string,string> defines)
defines["SQLITE_ENABLE_FTS4"] = null;
defines["SQLITE_ENABLE_FTS5"] = null;
defines["SQLITE_ENABLE_JSON1"] = null;
//defines["SQLITE_ENABLE_MATH_FUNCTIONS"] = null;
defines["SQLITE_ENABLE_MATH_FUNCTIONS"] = null;
defines["SQLITE_ENABLE_RTREE"] = null;
defines["SQLITE_ENABLE_SNAPSHOT"] = null;
defines["SQLITE_DEFAULT_FOREIGN_KEYS"] = "1";
Expand Down

0 comments on commit be32caa

Please sign in to comment.