diff options
-rw-r--r-- | Zend/zend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 5b1f9e90c2..6a9658aa3d 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -45,7 +45,8 @@ #include "zend_errors.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; #else typedef unsigned char zend_bool; |