diff options
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_execute_API.c | 1 | ||||
-rw-r--r-- | Zend/zend_portability.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 3f8025b648..f96cac5f09 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1183,6 +1183,7 @@ ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, ZEND_API void zend_timeout(int dummy) /* {{{ */ { + if (zend_on_timeout) { #ifdef ZEND_SIGNALS /* diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index d299004ce4..f187129416 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -125,8 +125,6 @@ # define ZEND_IGNORE_VALUE(x) ((void) (x)) #endif -#define quiet_write(...) ZEND_IGNORE_VALUE(write(__VA_ARGS__)) - /* all HAVE_XXX test have to be after the include of zend_config above */ #if defined(HAVE_LIBDL) && !defined(ZEND_WIN32) |