10000 gh-95656: Enable the sqlite3 load extension API in Windows build (GH-… · miss-islington/cpython@4a99d90 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a99d90

Browse files
erlend-aaslandmiss-islington
authored andcommitted
pythongh-95656: Enable the sqlite3 load extension API in Windows build (pythonGH-95662)
(cherry picked from commit 6a5104f) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
1 parent 33de186 commit 4a99d90

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Enable the :meth:`~sqlite3.Connection.enable_load_extension` :mod:`sqlite3`
2+
API.

PCbuild/_sqlite3.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<ItemDefinitionGroup>
9595
<ClCompile>
9696
<AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
97-
<PreprocessorDefinitions>PY_SQLITE_HAVE_SERIALIZE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97+
<PreprocessorDefinitions>PY_SQLITE_HAVE_SERIALIZE;PY_SQLITE_ENABLE_LOAD_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
9898
</ClCompile>
9999
</ItemDefinitionGroup>
100100
<ItemGroup>

0 commit comments

Comments
 (0)
0