Re: [PHP4BETA] zend_bool
| From: | Sascha Schumann | Date: | Fri, 02 Jul 1999 14:21:15 +0000 |
| Subject: | Re: [PHP4BETA] zend_bool | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1819@lists.php.net to get a copy of this message | ||
On Fri, Jul 02, 1999 at 04:15:43PM +0200, Sascha Schumann wrote:
> On Fri, Jul 02, 1999 at 05:04:33PM +0300, bourbon@netvision.net.il wrote:
> >
> > Can somebody write a check that typedefs zend_bool to unsigned char on
> > every platform except for Solaris?
>
> Uh, it's on every 64-bit platform, as said before. I'll take care
> of that.
Since I cannot access the cvs.zend.com server from here, please
add this to configure.in:
AC_CHECK_SIZEOF(int, 4)
and then in some header:
#if SIZEOF_INT == 8
typedef unsigned int zend_bool;
#else
typedef unsigned char zend_bool;
#endif
--
Regards,
Sascha Schumann
Consultant