From: Bob Weinand Date: Sun, 20 Sep 2020 00:57:39 +0000 (+0200) Subject: Fix mysqli build with mysqlnd and without PDO X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0741858ca7a02cd0f9b15cd1979d1d098eafca11;p=php Fix mysqli build with mysqlnd and without PDO --- 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