diff options
| author | Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | 2022-08-04 21:26:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-04 21:26:13 +0200 |
| commit | 6a5104f4fa83ed08fe31f712757dddabfede394c (patch) | |
| tree | 8a2d8936092f1e371a59ec381c1d932cc13ba9c1 | |
| parent | 962acd446839c7e10caf301931760133644ce8ca (diff) | |
| download | cpython-git-6a5104f4fa83ed08fe31f712757dddabfede394c.tar.gz | |
gh-95656: Enable the sqlite3 load extension API in Windows build (#95662)
| -rw-r--r-- | Misc/NEWS.d/next/Windows/2022-08-04-18-47-54.gh-issue-95656.VJ1d13.rst | 2 | ||||
| -rw-r--r-- | PCbuild/_sqlite3.vcxproj | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Windows/2022-08-04-18-47-54.gh-issue-95656.VJ1d13.rst b/Misc/NEWS.d/next/Windows/2022-08-04-18-47-54.gh-issue-95656.VJ1d13.rst new file mode 100644 index 0000000000..77fea4c33f --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-08-04-18-47-54.gh-issue-95656.VJ1d13.rst @@ -0,0 +1,2 @@ +Enable the :meth:`~sqlite3.Connection.enable_load_extension` :mod:`sqlite3` +API. diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj index 804aa07367..57c7413671 100644 --- a/PCbuild/_sqlite3.vcxproj +++ b/PCbuild/_sqlite3.vcxproj @@ -94,7 +94,7 @@ <ItemDefinitionGroup> <ClCompile> <AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>PY_SQLITE_HAVE_SERIALIZE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>PY_SQLITE_HAVE_SERIALIZE;PY_SQLITE_ENABLE_LOAD_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> |
