Browse Source
bpo-40270: Enable json extension in Windows sqlite extension (GH-19528)
pull/19548/head
Ammar Askar
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
Misc/NEWS.d/next/Library/2020-04-14-16-18-49.bpo-40270.XVJzeG.rst
-
PCbuild/sqlite3.vcxproj
|
|
|
@ -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``. |
|
|
|
@ -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> |
|
|
|
|