From b451bc8d7e5e5a1df46fbecb6cf50af942cc401e Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Tue, 4 May 2021 14:47:44 +0200 Subject: [PATCH] bpo-42686: Enable SQLite math functions in Windows build (#24053) --- .../next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst | 1 + PCbuild/sqlite3.vcxproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst diff --git a/Misc/NEWS.d/next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst b/Misc/NEWS.d/next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst new file mode 100644 index 00000000000..2fcf6e946ec --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst @@ -0,0 +1 @@ +Build :mod:`sqlite3` with math functions enabled. Patch by Erlend E. Aasland. diff --git a/PCbuild/sqlite3.vcxproj b/PCbuild/sqlite3.vcxproj index 39f10c5abd6..e39e2d9c226 100644 --- a/PCbuild/sqlite3.vcxproj +++ b/PCbuild/sqlite3.vcxproj @@ -98,7 +98,7 @@ $(sqlite3Dir);%(AdditionalIncludeDirectories) - SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions) + SQLITE_ENABLE_MATH_FUNCTIONS;SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions) Level1