Re: Patch: PHP (cvs) on Itanium

From: Date: Wed, 19 Jul 2000 15:43:21 +0000
Subject: Re: Patch: PHP (cvs) on Itanium
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25131@lists.php.net to get a copy of this message
I have applied your php3 patch. Thanks. That Zend patch is pretty ugly. However, in the interest of getting PHP 4 to compile out of the box on Itanium systems for now, is there some sort of reliable compiler constant we can check in an ifdef here? -Rasmus > Index: zend_execute_API.c > =================================================================== > RCS file: /repository/Zend/zend_execute_API.c,v > retrieving revision 1.103 > diff -u -r1.103 zend_execute_API.c > --- zend_execute_API.c 2000/07/03 16:53:39 1.103 > +++ zend_execute_API.c 2000/07/14 14:39:41 > @@ -105,8 +105,17 @@ > > void init_executor(CLS_D ELS_DC) > { > +#if 0 > INIT_ZVAL(EG(uninitialized_zval)); > INIT_ZVAL(EG(error_zval)); > +#else > + zval *uzval = &executor_globals.uninitialized_zval; > + zval *ezval = &executor_globals.error_zval; > + > + *uzval = zval_used_for_init; > + *ezval = zval_used_for_init; > +#endif > + > EG(uninitialized_zval_ptr)=&EG(uninitialized_zval); > EG(error_zval_ptr)=&EG(error_zval); > zend_ptr_stack_init(&EG(arg_types_stack)); >

« previous php.dev (#25131) next »