RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c zend.h

From: Date: Wed, 30 Nov 2005 12:50:07 +0000
Subject: RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c zend.h
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4406@lists.php.net to get a copy of this message
GCC defines __hpux. Does building system defines "HPUX"? I didn't found any usage of "#ifdef HPUX" in PHP sources. Thanks. Dmitry. > -----Original Message----- > From: Jani Taskinen [mailto:sniper@iki.fi] > Sent: Wednesday, November 30, 2005 3:43 PM > To: Dmitry Stogov > Cc: zend-engine-cvs@lists.php.net > Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c zend.h > > > > How about using !defined(HPUX) so we're at least > somewhat consistent > with these? > > --Jani > > On Wed, 30 Nov 2005, Dmitry Stogov wrote: > > > > > dmitry Wed Nov 30 05:25:55 2005 EDT > > > > Modified files: > > /ZendEngine2 zend.c zend.h > > Log: > > Fixed bug #35373 (HP-UX "alias not allowed in this configuration") > > > > > > > > http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.328&r2=1.329&ty=u > > Index: ZendEngine2/zend.c > > diff -u ZendEngine2/zend.c:1.328 ZendEngine2/zend.c:1.329 > > --- ZendEngine2/zend.c:1.328 Thu Nov 17 17:57:16 2005 > > +++ ZendEngine2/zend.c Wed Nov 30 05:25:50 2005 > > @@ -17,7 +17,7 @@ > > > > > +------------------------------------------------------------- > ---------+ > > */ > > > > -/* $Id: zend.c,v 1.328 2005/11/17 22:57:16 helly Exp $ */ > > +/* $Id: zend.c,v 1.329 2005/11/30 10:25:50 dmitry Exp $ */ > > > > #include "zend.h" > > #include "zend_extensions.h" > > @@ -1740,7 +1740,7 @@ > > } > > } > > > > -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && > > !defined(DARWIN) > > +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && > > +!defined(DARWIN) && !defined(__hpux) > > void zend_error_noreturn(int type, const char *format, ...) > > __attribute__ ((alias("zend_error"),noreturn)); #endif > > > > > > http://cvs.php.net/diff.php/ZendEngine2/zend.h?r1=1.304&r2=1.305&ty=u > > Index: ZendEngine2/zend.h > > diff -u ZendEngine2/zend.h:1.304 ZendEngine2/zend.h:1.305 > > --- ZendEngine2/zend.h:1.304 Fri Nov 25 07:25:22 2005 > > +++ ZendEngine2/zend.h Wed Nov 30 05:25:51 2005 > > @@ -17,7 +17,7 @@ > > > > > +------------------------------------------------------------- > ---------+ > > */ > > > > -/* $Id: zend.h,v 1.304 2005/11/25 12:25:22 tony2001 Exp $ */ > > +/* $Id: zend.h,v 1.305 2005/11/30 10:25:51 dmitry Exp $ */ > > > > #ifndef ZEND_H > > #define ZEND_H > > @@ -255,15 +255,7 @@ > > #define INTERNAL_FUNCTION_PARAMETERS int ht, zval > *return_value, zval > > **return_value_ptr, zval *this_ptr, int return_value_used TSRMLS_DC > > #define INTERNAL_FUNCTION_PARAM_PASSTHRU ht, return_value, > > return_value_ptr, this_ptr, return_value_used TSRMLS_CC > > > > -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && > > !defined(DARWIN) -# define ZEND_VM_ALWAYS_INLINE __attribute__ > > ((always_inline)) -void zend_error_noreturn(int type, const char > > *format, ...) __attribute__ ((noreturn)); -#else -# define > > ZEND_VM_ALWAYS_INLINE -# define zend_error_noreturn zend_error > > -#endif > > - > > -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && > !defined(DARWIN) > > +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && > > +!defined(DARWIN) && !defined(__hpux) > > # define ZEND_VM_ALWAYS_INLINE __attribute__ > ((always_inline)) void > > zend_error_noreturn(int type, const char *format, ...) > __attribute__ > > ((noreturn)); #else > > > > > > -- > Give me your money at @ > <http://pecl.php.net/wishlist.php/sniper> > Donating money may make me happier and friendlier for a > limited period! Death to all 4 letter abbreviations starting with P! > >

« previous php.zend-engine.cvs (#4406) next »