From a7544411dfb833331a19ff10c1082428d80d2ad7 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sun, 20 Sep 2020 02:57:39 +0200 Subject: Fix mysqli build with mysqlnd and without PDO --- ext/mysqli/mysqli_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqli') diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 7d8682253c..b858b6b823 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1954,7 +1954,7 @@ PHP_FUNCTION(mysqli_real_query) } /* }}} */ -#if defined(PDO_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION) +#if defined(MYSQLI_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION) # define mysql_real_escape_string_quote(mysql, to, from, length, quote) \ mysql_real_escape_string(mysql, to, from, length) #endif -- cgit v1.2.1