Skip to content

Commit

Permalink
bpo-40270: Enable json extension in Windows sqlite extension (GH-19528)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammaraskar committed Apr 15, 2020
1 parent fbf2786 commit 58d6f2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The included copy of sqlite3 on Windows is now compiled with the json
extension. This allows the use of functions such as ``json_object``.
2 changes: 1 addition & 1 deletion PCbuild/sqlite3.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>SQLITE_ENABLE_JSON1;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level1</WarningLevel>
</ClCompile>
<ResourceCompile>
Expand Down

0 comments on commit 58d6f2e

Please sign in to comment.