Re: [PHP4BETA] zend_bool
| From: | bourbon at netvision dot net dot il | Date: | Fri, 02 Jul 1999 14:11:47 +0000 |
| Subject: | Re: [PHP4BETA] zend_bool | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1814@lists.php.net to get a copy of this message | ||
On Fri, 2 Jul 1999, Rasmus Lerdorf wrote:
> > Can somebody write a check that typedefs zend_bool to unsigned char on
> > every platform except for Solaris?
>
> Are you sure it is only 64-bit Solaris that is a problem? Usually these
> things are a function of a certain OS characteristic as opposed to the OS
> itself and it is therefore a better idea to check for this characteristic
> instead of the OS.
It's a gcc bug that exists only in Solaris, to the best of our
knowledge...
Anyway, I made zend_bool be defined to unsigned char (update libzend) - if
somebody can improve the logic in there to figure out whether we're on
Solaris or not, it'd sort out that problem.
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il