From 1039e71b557d4aaf1a3e225cc0b32dbac9ec8366 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 28 Sep 2019 22:13:22 +0100 Subject: [PATCH] sqlite 3 macOS build fix sqlite shared cached is disabled since the 10.7 release (2011). --- Modules/_sqlite/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index d5c353ea7bee83..dc19dd335726ac 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -131,7 +131,7 @@ PyDoc_STRVAR(module_complete_doc, \n\ Checks if a string contains a complete SQL statement. Non-standard."); -#ifdef HAVE_SHARED_CACHE +#if defined(HAVE_SHARED_CACHE) && !defined(__APPLE__) static PyObject* module_enable_shared_cache(PyObject* self, PyObject* args, PyObject* kwargs) {