diff options
Diffstat (limited to 'main/streams/plain_wrapper.c')
| -rw-r--r-- | main/streams/plain_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 54cc39b7f6..e9126de4eb 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -373,7 +373,7 @@ static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC) data->file = NULL; } } else if (data->fd != -1) { -#ifdef PHP_DEBUG +#if PHP_DEBUG if ((data->fd == 1 || data->fd == 2) && 0 == strcmp(sapi_module.name, "cli")) { /* don't close stdout or stderr in CLI in DEBUG mode, as we want to see any leaks */ ret = 0; |
