From 0d166f3c967befa04e04f5ca7c23cf89f0e06360 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 20 Jul 2019 00:48:44 +0200 Subject: [PATCH] Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite --- ext/pdo_sqlite/config.w32 | 1 + ext/sqlite3/config.w32 | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_sqlite/config.w32 b/ext/pdo_sqlite/config.w32 index a1dec83703152..1ad3b74e8c338 100644 --- a/ext/pdo_sqlite/config.w32 +++ b/ext/pdo_sqlite/config.w32 @@ -8,6 +8,7 @@ if (PHP_PDO_SQLITE != "no") { ADD_EXTENSION_DEP('pdo_sqlite', 'pdo'); AC_DEFINE("HAVE_SQLITE3_COLUMN_TABLE_NAME", 1, "have sqlite3_column_table_name"); + AC_DEFINE("HAVE_SQLITE3_CLOSE_V2", 1, "have sqlite3_close_v2"); } else { WARNING("pdo_sqlite not enabled; libraries and/or headers not found"); } diff --git a/ext/sqlite3/config.w32 b/ext/sqlite3/config.w32 index d81c970a04c6b..41eccb5af94ea 100644 --- a/ext/sqlite3/config.w32 +++ b/ext/sqlite3/config.w32 @@ -8,7 +8,6 @@ if (PHP_SQLITE3 != "no") { AC_DEFINE("HAVE_SQLITE3", 1, "SQLite support"); AC_DEFINE("HAVE_SQLITE3_ERRSTR", 1, "have sqlite3_errstr function"); - AC_DEFINE("HAVE_SQLITE3_CLOSE_V2", 1, "have sqlite3_close_v2"); } else { WARNING("sqlite3 not enabled; libraries and/or headers not found"); }