summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-06-08 12:40:29 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-06-09 11:43:45 +0200
commit4b77a158ef2850582aeb4834c588aba49942776c (patch)
treede73208ad4ff8f40e58bf486920eb35d55636a9a
parentc14371ef7b182389604b23f329b8023919330b12 (diff)
downloadphp-git-4b77a158ef2850582aeb4834c588aba49942776c.tar.gz
Use standard boolean type as zend_bool typedef
Closes GH-5624
-rw-r--r--Zend/zend_types.h3
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 {