diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-18 01:00:39 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-18 01:00:47 +0200 |
commit | 7c33644fedbb44b8c671311a7f49f9e280b82249 (patch) | |
tree | ae3c5f461f5e26935cdf084aa8c11b10dc9cd616 | |
parent | 133035951565fcb869f7d0223db6e73adc7e2aea (diff) | |
download | php-git-7c33644fedbb44b8c671311a7f49f9e280b82249.tar.gz |
Fix [-Wextra-tokens] warning in MySQLi extension which breaks build
Didn't double check and this slipped through with my big search and replace
-rw-r--r-- | ext/mysqli/mysqli.c | 4 |
1 files 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)) { |