summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-25 13:17:01 +0000
committerWez Furlong <wez@php.net>2004-05-25 13:17:01 +0000
commitff0ee48537a650ef092ee0967cb6ddb60955ff5e (patch)
tree266a1f1a34c2a412e3cdba7cc2ffe8014cdac259 /main/streams/plain_wrapper.c
parent7916ef2ee14e27e5905c730f4d48fdb959ddf0a5 (diff)
downloadphp-git-ff0ee48537a650ef092ee0967cb6ddb60955ff5e.tar.gz
DEBUG -> PHP_DEBUG
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index b161f9fb1f..4188052b10 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -428,7 +428,7 @@ static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC)
data->file = NULL;
}
} else if (data->fd != -1) {
-#ifdef DEBUG
+#ifdef PHP_DEBUG
if (data->fd == 2 && 0 == strcmp(sapi_module.name, "cli")) {
/* don't close stderr in CLI in DEBUG mode, as we want to see any leaks */
ret = 0;