summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {