Skip to content

Commit

Permalink
Fixed bug #35373 (HP-UX "alias not allowed in this configuration")
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Nov 30, 2005
1 parent d409c5e commit c58d4c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Zend/zend.c
Expand Up @@ -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

Expand Down
10 changes: 1 addition & 9 deletions Zend/zend.h
Expand Up @@ -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
Expand Down

0 comments on commit c58d4c5

Please sign in to comment.