mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Use standard boolean type as zend_bool typedef
Closes GH-5624
This commit is contained in:
parent
c14371ef7b
commit
4b77a158ef
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "zend_portability.h"
|
#include "zend_portability.h"
|
||||||
#include "zend_long.h"
|
#include "zend_long.h"
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifdef __SSE2__
|
#ifdef __SSE2__
|
||||||
# include <mmintrin.h>
|
# include <mmintrin.h>
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
# define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d
|
# define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char zend_bool;
|
typedef bool zend_bool;
|
||||||
typedef unsigned char zend_uchar;
|
typedef unsigned char zend_uchar;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue