mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
make Solaris gcc happy
This commit is contained in:
parent
7aa981f5b7
commit
52308cd368
@ -45,7 +45,8 @@
|
|||||||
#include "zend_errors.h"
|
#include "zend_errors.h"
|
||||||
#include "zend_alloc.h"
|
#include "zend_alloc.h"
|
||||||
|
|
||||||
#if SIZEOF_VOID_P == 8
|
/* this is a workaround for a bug in gcc */
|
||||||
|
#if SIZEOF_VOID_P == 8 || defined(__arch64__)
|
||||||
typedef unsigned int zend_bool;
|
typedef unsigned int zend_bool;
|
||||||
#else
|
#else
|
||||||
typedef unsigned char zend_bool;
|
typedef unsigned char zend_bool;
|
||||||
|
Loading…
Reference in New Issue
Block a user