diff options
author | George Peter Banyard <girgias@php.net> | 2020-06-08 12:40:29 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-06-09 11:43:45 +0200 |
commit | 4b77a158ef2850582aeb4834c588aba49942776c (patch) | |
tree | de73208ad4ff8f40e58bf486920eb35d55636a9a | |
parent | c14371ef7b182389604b23f329b8023919330b12 (diff) | |
download | php-git-4b77a158ef2850582aeb4834c588aba49942776c.tar.gz |
Use standard boolean type as zend_bool typedef
Closes GH-5624
-rw-r--r-- | Zend/zend_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_types.h b/Zend/zend_types.h index 026177cf17..5299748873 100644 --- a/Zend/zend_types.h +++ b/Zend/zend_types.h @@ -24,6 +24,7 @@ #include "zend_portability.h" #include "zend_long.h" +#include <stdbool.h> #ifdef __SSE2__ # include <mmintrin.h> @@ -46,7 +47,7 @@ # define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d #endif -typedef unsigned char zend_bool; +typedef bool zend_bool; typedef unsigned char zend_uchar; typedef enum { |