See https://github.com/msys2-contrib/cpython-mingw/pull/110 update-patches: remove git version signature to keep the diff smaller
22 lines
738 B
Diff
22 lines
738 B
Diff
From 27d5fd93127e211401a9e38f6ad5c561d017dd1c Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Thu, 17 Jun 2021 18:52:21 +0530
|
|
Subject: [PATCH 066/N] sqlite3 module defines
|
|
|
|
---
|
|
setup.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index dd3d902..f6923e1 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -1657,6 +1657,7 @@ class PyBuildExt(build_ext):
|
|
'_sqlite/statement.c',
|
|
'_sqlite/util.c', ]
|
|
sqlite_defines = []
|
|
+ sqlite_defines.append(('MODULE_NAME', '"sqlite3"'))
|
|
|
|
# Enable support for loadable extensions in the sqlite3 module
|
|
# if --enable-loadable-sqlite-extensions configure option is used.
|