bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)

This commit is contained in:
Christian Heimes 2021-11-06 11:30:37 +02:00 committed by GitHub
parent a4774f42e3
commit e9594f6747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 13 deletions

View file

@ -1225,7 +1225,7 @@ pysqlite_connection_set_trace_callback_impl(pysqlite_Connection *self,
Py_RETURN_NONE;
}
#ifndef SQLITE_OMIT_LOAD_EXTENSION
#ifdef PY_SQLITE_ENABLE_LOAD_EXTENSION
/*[clinic input]
_sqlite3.Connection.enable_load_extension as pysqlite_connection_enable_load_extension