From 7c33644fedbb44b8c671311a7f49f9e280b82249 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Mon, 18 May 2020 01:00:39 +0200 Subject: [PATCH] Fix [-Wextra-tokens] warning in MySQLi extension which breaks build Didn't double check and this slipped through with my big search and replace --- ext/mysqli/mysqli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 1c56c907ce..eb3c79b798 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -875,7 +875,7 @@ PHP_MSHUTDOWN_FUNCTION(mysqli) */ PHP_RINIT_FUNCTION(mysqli) { -#ifndef MYSQLI_USE_MYSQLND && defined(ZTS) +#if !defined(MYSQLI_USE_MYSQLND) && defined(ZTS) if (mysql_thread_init()) { return FAILURE; } @@ -912,7 +912,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli) { /* check persistent connections, move used to free */ -#ifndef MYSQLI_USE_MYSQLND && defined(ZTS) +#if !defined(MYSQLI_USE_MYSQLND) && defined(ZTS) mysql_thread_end(); #endif if (MyG(error_msg)) { -- 2.50.1