diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-03-19 22:10:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 22:10:18 +0900 |
commit | 29198ea1c6d58f87389136b0ac0b8b2318dbac24 (patch) | |
tree | 397e7f507defd165cc106b44feb864df50c47aab /Modules/_sqlite/module.h | |
parent | 943395fab925a11ea90d078e771cdfc4443e8c34 (diff) | |
download | cpython-29198ea1c6d58f87389136b0ac0b8b2318dbac24.tar.gz cpython-29198ea1c6d58f87389136b0ac0b8b2318dbac24.zip |
bpo-8677: use PY_SSIZE_T_CLEAN in sqlite (GH-12434)
Modules/_sqlite/cursor.c uses "y#" format.
It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
Diffstat (limited to 'Modules/_sqlite/module.h')
-rw-r--r-- | Modules/_sqlite/module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_sqlite/module.h b/Modules/_sqlite/module.h index 6f90934b325..3185ec97888 100644 --- a/Modules/_sqlite/module.h +++ b/Modules/_sqlite/module.h @@ -23,6 +23,7 @@ #ifndef PYSQLITE_MODULE_H #define PYSQLITE_MODULE_H +#define PY_SSIZE_T_CLEAN #include "Python.h" #define PYSQLITE_VERSION "2.6.0" |