From 0741858ca7a02cd0f9b15cd1979d1d098eafca11 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sun, 20 Sep 2020 02:57:39 +0200 Subject: [PATCH] Fix mysqli build with mysqlnd and without PDO --- ext/mysqli/mysqli_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index aa283505e1..2263c75434 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1885,7 +1885,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 -- 2.40.0