From: Dmitry Stogov Date: Wed, 30 Nov 2005 10:25:51 +0000 (+0000) Subject: Fixed bug #35373 (HP-UX "alias not allowed in this configuration") X-Git-Tag: RELEASE_2_0_2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c58d4c590a19b759f2f24704f0313989ec8b603b;p=php Fixed bug #35373 (HP-UX "alias not allowed in this configuration") --- diff --git a/Zend/zend.c b/Zend/zend.c index 7f6e3356f2..88eb8f3cce 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -1740,7 +1740,7 @@ ZEND_API void zend_error(int type, const char *format, ...) } } -#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 diff --git a/Zend/zend.h b/Zend/zend.h index fb954ed618..9c14ca0bec 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -255,15 +255,7 @@ char *alloca (); #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