From c568ffe5171d942161fc8dda066bce844bdef676 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 16 Jul 2015 22:48:56 +0200 Subject: Ignore getcwd return in zend_compile To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE. --- main/php.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main/php.h') 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) -- cgit v1.2.1