summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-20 18:53:40 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-06-10 09:05:17 +0200
commit68dd6cc92b81cc2253cdfcdc53823ad6527d2e05 (patch)
tree68f5b226b06e50f0a29ead8cc5ec337a3d51865a /win32
parentc1887974ccbf00f4c5a4950480eb53cf75c153a0 (diff)
downloadphp-git-68dd6cc92b81cc2253cdfcdc53823ad6527d2e05.tar.gz
Control VCRT leak reporting via environment variable in debug builds
Formerly, this had to be enabled by passing the configuration flag `--enable-crt-debug`; now it can be enabled by setting the environment variable `PHP_WIN32_DEBUG_HEAP`. The advantage is that it is no longer necessary to do separate builds, at the cost of a very minor performance penalty during process startup.
Diffstat (limited to 'win32')
-rw-r--r--win32/build/confutils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 9d2d578516..5d6ba3baac 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -437,7 +437,7 @@ can be built that way. \
}
var snapshot_build_exclusions = new Array(
- 'debug', 'crt-debug', 'lzf-better-compression',
+ 'debug', 'lzf-better-compression',
'php-build', 'snapshot-template', 'ereg',
'pcre-regex', 'fastcgi', 'force-cgi-redirect',
'path-info-check', 'zts', 'ipv6', 'memory-limit',