From 93c54315f123ee58872ae695ee49d51cd581e7be Mon Sep 17 00:00:00 2001 From: yamashi Date: Wed, 2 Jun 2021 23:21:42 +0200 Subject: [PATCH] Enable math functions in sqlite3 (#445) --- packages/s/sqlite3/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/s/sqlite3/xmake.lua b/packages/s/sqlite3/xmake.lua index 1e8b414f1..3952b5d8a 100644 --- a/packages/s/sqlite3/xmake.lua +++ b/packages/s/sqlite3/xmake.lua @@ -32,7 +32,7 @@ package("sqlite3") set_kind("$(kind)") add_files("sqlite3.c") add_headerfiles("sqlite3.h", "sqlite3ext.h") - add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB") + add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB", "SQLITE_ENABLE_MATH_FUNCTIONS") if is_kind("shared") and is_plat("windows") then add_defines("SQLITE_API=__declspec(dllexport)") end