diff options
author | Daniel Black <daniel@mariadb.org> | 2020-09-12 15:29:23 +1000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-17 11:27:31 +0200 |
commit | c9abb0c0ac8a9bce1d8d62e45dc3ff9fc9ea5308 (patch) | |
tree | 4de73a48d0d9cc04cf4e5de510d87094923a1229 /ext/mysqli/php_mysqli_structs.h | |
parent | 202a0697f3f1771f241e7dadbe1ecbb8cb72b6c9 (diff) | |
download | php-git-c9abb0c0ac8a9bce1d8d62e45dc3ff9fc9ea5308.tar.gz |
mysql: native mysql-8.0 uses _Bool
MySQL-8.0 removes option MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r-- | ext/mysqli/php_mysqli_structs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h index e399ecaa36..143acbd5a1 100644 --- a/ext/mysqli/php_mysqli_structs.h +++ b/ext/mysqli/php_mysqli_structs.h @@ -67,8 +67,8 @@ #endif #include <mysql.h> -#ifndef my_bool -typedef char my_bool; +#if MYSQL_VERSION_ID >= 80000 && MYSQL_VERSION_ID < 100000 +typedef _Bool my_bool; #endif #include <errmsg.h> #include <mysqld_error.h> |