summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-07-17 15:56:28 +0800
committerXinchen Hui <laruence@php.net>2015-07-17 15:56:28 +0800
commit91e5b30a3b37bdddc87fb5cddde6e4dd5de3fa78 (patch)
treec53f9a0610f240a0d8fd0bb13a141a7a38894e33 /main/php.h
parent7d07afd6c18f3d83ec21248d65a076b387aa05e9 (diff)
parentc568ffe5171d942161fc8dda066bce844bdef676 (diff)
downloadphp-git-91e5b30a3b37bdddc87fb5cddde6e4dd5de3fa78.tar.gz
Merge branch 'master' of git.php.net:php-src
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
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)