From: Rasmus Lerdorf Date: Tue, 16 Jun 2009 16:11:05 +0000 (+0000) Subject: Tweak to make this compile with gcc2 X-Git-Tag: php-5.4.0alpha1~191^2~3306 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fc0630fa563fbf7a2933f804fa76902a876bfee;p=php Tweak to make this compile with gcc2 --- diff --git a/Zend/zend.c b/Zend/zend.c index 3445420222..112d66b16a 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -1708,7 +1708,7 @@ ZEND_API void zend_error(int type, const char *format, ...) /* {{{ */ } /* }}} */ -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__) +#if defined(__GNUC__) && __GNUC__ >= 3 && !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