Skip to content
Permalink
Browse files

bpo-42686: Enable SQLite math functions in Windows build (#24053)

  • Loading branch information
erlend-aasland committed May 4, 2021
1 parent a0b9915 commit b451bc8d7e5e5a1df46fbecb6cf50af942cc401e
Showing with 2 additions and 1 deletion.
  1. +1 −0 Misc/NEWS.d/next/Windows/2021-01-01-21-21-03.bpo-42686.G_f-TC.rst
  2. +1 −1 PCbuild/sqlite3.vcxproj
@@ -0,0 +1 @@
Build :mod:`sqlite3` with math functions enabled. Patch by Erlend E. Aasland.
@@ -98,7 +98,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>SQLITE_ENABLE_MATH_FUNCTIONS;SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level1</WarningLevel>
</ClCompile>
<ResourceCompile>

0 comments on commit b451bc8

Please sign in to comment.