diff options
author | Nikita Popov <nikic@php.net> | 2015-07-16 22:48:56 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-07-16 22:48:56 +0200 |
commit | c568ffe5171d942161fc8dda066bce844bdef676 (patch) | |
tree | e47ea2799bc939ed637fda4558c813dccfdc9249 /main/php.h | |
parent | 208257eec56533bf470044eb0595202bd1541462 (diff) | |
download | php-git-c568ffe5171d942161fc8dda066bce844bdef676.tar.gz |
Ignore getcwd return in zend_compile
To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/php.h b/main/php.h index 1d2c2dc099..3ebaa1a0b9 100644 --- a/main/php.h +++ b/main/php.h @@ -257,11 +257,7 @@ END_EXTERN_C() # endif #endif -#if defined(__GNUC__) && __GNUC__ >= 4 -# define php_ignore_value(x) (({ __typeof__ (x) __x = (x); (void) __x; })) -#else -# define php_ignore_value(x) ((void) (x)) -#endif +#define php_ignore_value(x) ZEND_IGNORE_VALUE(x) /* global variables */ #if !defined(PHP_WIN32) |