]> granicus.if.org Git - php/commitdiff
fix build on Tru64
authorAntony Dovgal <tony2001@php.net>
Thu, 26 Apr 2007 19:08:24 +0000 (19:08 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 26 Apr 2007 19:08:24 +0000 (19:08 +0000)
Zend/zend.c
Zend/zend.h

index f88c0dc85149ebb5a1314e3e7514f397ac59ffc4..51ad522751e03729e32bbc82056802d9bb75ca8d 100644 (file)
@@ -1575,7 +1575,7 @@ ZEND_API void zend_error(int type, const char *format, ...)
        }
 }
 
-#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX)
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)
 void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((alias("zend_error"),noreturn));
 #endif
 
index 8d649bb2b76f3f471bb049ec258653c9a6826028..63e3181934c0878d3da8ab18d233dba314df4c3b 100644 (file)
@@ -280,7 +280,7 @@ static inline zstr _to_zstr(void *v) {
 #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) && !defined(__hpux) && !defined(_AIX)
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)
 #  define ZEND_VM_ALWAYS_INLINE  __attribute__ ((always_inline))
 void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((noreturn));
 #else