mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Ignore getcwd return in zend_compile
To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE.
This commit is contained in:
parent
208257eec5
commit
c568ffe517
3 changed files with 9 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue