summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2009-06-16 16:10:15 +0000
committerRasmus Lerdorf <rasmus@php.net>2009-06-16 16:10:15 +0000
commitf90425316acb1372a6ce24bab316c9a353a74a4c (patch)
treefc052eeaf55e340df6e65d224dd50e151835d0b1
parentf9bb99055e7546667731e0b23c0ce4c09a5efc4b (diff)
downloadphp-git-f90425316acb1372a6ce24bab316c9a353a74a4c.tar.gz
Tweak to make this compile with gcc2
-rw-r--r--Zend/zend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 09524bcb4a..a139ad999f 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -1133,7 +1133,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