From: George Peter Banyard Date: Mon, 8 Jun 2020 10:40:29 +0000 (+0200) Subject: Use standard boolean type as zend_bool typedef X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b77a158ef2850582aeb4834c588aba49942776c;p=php Use standard boolean type as zend_bool typedef Closes GH-5624 --- 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 #ifdef __SSE2__ # include @@ -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 {