Skip to content

Commit 4b77a15

Browse files
committed
Use standard boolean type as zend_bool typedef
Closes GH-5624
1 parent c14371e commit 4b77a15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_types.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include "zend_portability.h"
2626
#include "zend_long.h"
27+
#include <stdbool.h>
2728

2829
#ifdef __SSE2__
2930
# include <mmintrin.h>
@@ -46,7 +47,7 @@
4647
# define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d
4748
#endif
4849

49-
typedef unsigned char zend_bool;
50+
typedef bool zend_bool;
5051
typedef unsigned char zend_uchar;
5152

5253
typedef enum {

0 commit comments

Comments
 (0)