summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-07-05 17:05:38 +0000
committerSascha Schumann <sas@php.net>1999-07-05 17:05:38 +0000
commit52308cd368bb26146b2e534c68ece91df5656ea2 (patch)
tree83c6180605d7f0a8c712fd7813addddac40cf737
parent7aa981f5b73ced8d28647e497d6023fac20e369a (diff)
downloadphp-git-52308cd368bb26146b2e534c68ece91df5656ea2.tar.gz
make Solaris gcc happy
-rw-r--r--Zend/zend.h3
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;