diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2009-06-17 08:55:23 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2009-06-17 08:55:23 +0000 |
commit | a7cc9e72743871d69d3ddbfccc557fb84122a0d4 (patch) | |
tree | b6fccd7ea866f35fa78b713bd253da7e4ccc72ca | |
parent | 2e08b57ee6637fa511f3baef50e8adb14ef17b36 (diff) | |
download | php-git-a7cc9e72743871d69d3ddbfccc557fb84122a0d4.tar.gz |
Need the gcc version check here too
-rw-r--r-- | Zend/zend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index ca9243a819..3202c834c7 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -292,7 +292,7 @@ static const char long_min_digits[] = "9223372036854775808"; #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) && !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__ ((noreturn)); #else # define zend_error_noreturn zend_error |