]> granicus.if.org Git - php/commitdiff
fix compilation on AIX
authorAntony Dovgal <tony2001@php.net>
Thu, 30 Mar 2006 21:39:01 +0000 (21:39 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 30 Mar 2006 21:39:01 +0000 (21:39 +0000)
Zend/zend.c
Zend/zend.h

index 366cd21c786f77f1c59811c19e6de1dc522b66b1..c6a9ec703c7f76b7a34739137cda322e5ba45f69 100644 (file)
@@ -1054,7 +1054,7 @@ ZEND_API void zend_error(int type, const char *format, ...)
        }
 }
 
-#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux)
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX)
 void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((alias("zend_error"),noreturn));
 #endif
 
index 0a5a00491f94cb0000b348204a6495f0ce49ebb8..45a9e757421e5ca6910c4a232ac0d091ecef14ca 100644 (file)
@@ -250,7 +250,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) && !defined(__hpux)
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX)
 #  define ZEND_VM_ALWAYS_INLINE  __attribute__ ((always_inline))
 void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((noreturn));
 #else