From: Erlend Egeberg Aasland Date: Tue, 4 May 2021 12:47:44 +0000 (+0200) Subject: bpo-42686: Enable SQLite math functions in Windows build (#24053) X-Git-Tag: v3.11.0a1~1209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b451bc8d7e5e5a1df46fbecb6cf50af942cc401e;p=thirdparty%2FPython%2Fcpython.git bpo-42686: Enable SQLite math functions in Windows build (#24053) --- 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 000000000000..2fcf6e946ec8 --- /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 39f10c5abd69..e39e2d9c226c 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