@@ -367,7 +367,7 @@ pysqlite_connection_set_trace_callback(pysqlite_Connection *self, PyTypeObject *
367367 return return_value ;
368368}
369369
370- #if ! defined(SQLITE_OMIT_LOAD_EXTENSION )
370+ #if defined(PY_SQLITE_ENABLE_LOAD_EXTENSION )
371371
372372PyDoc_STRVAR (pysqlite_connection_enable_load_extension__doc__ ,
373373"enable_load_extension($self, enable, /)\n"
@@ -398,9 +398,9 @@ pysqlite_connection_enable_load_extension(pysqlite_Connection *self, PyObject *a
398398 return return_value ;
399399}
400400
401- #endif /* ! defined(SQLITE_OMIT_LOAD_EXTENSION ) */
401+ #endif /* defined(PY_SQLITE_ENABLE_LOAD_EXTENSION ) */
402402
403- #if ! defined(SQLITE_OMIT_LOAD_EXTENSION )
403+ #if defined(PY_SQLITE_ENABLE_LOAD_EXTENSION )
404404
405405PyDoc_STRVAR (pysqlite_connection_load_extension__doc__ ,
406406"load_extension($self, name, /)\n"
@@ -440,7 +440,7 @@ pysqlite_connection_load_extension(pysqlite_Connection *self, PyObject *arg)
440440 return return_value ;
441441}
442442
443- #endif /* ! defined(SQLITE_OMIT_LOAD_EXTENSION ) */
443+ #endif /* defined(PY_SQLITE_ENABLE_LOAD_EXTENSION ) */
444444
445445PyDoc_STRVAR (pysqlite_connection_execute__doc__ ,
446446"execute($self, sql, parameters=<unrepresentable>, /)\n"
@@ -834,4 +834,4 @@ getlimit(pysqlite_Connection *self, PyObject *arg)
834834#ifndef PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
835835 #define PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
836836#endif /* !defined(PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF) */
837- /*[clinic end generated code: output=0c3901153a3837a5 input=a9049054013a1b77]*/
837+ /*[clinic end generated code: output=d71bf16bef67878f input=a9049054013a1b77]*/
0 commit comments