summaryrefslogtreecommitdiff
path: root/src/pal/src/init
diff options
context:
space:
mode:
authorSergiy Kuryata <sergeyk@microsoft.com>2015-10-19 21:13:01 -0700
committerSergiy Kuryata <sergeyk@microsoft.com>2015-10-19 21:13:01 -0700
commitd1ee2104052aeb3b4dacdf33d9ecf55f1ed33f1d (patch)
treef891ea487f2454f714f9036b1229e6a60fcee4ed /src/pal/src/init
parent3d1175e017b0c0b4cd7276044f607203a3e9e436 (diff)
downloadcoreclr-d1ee2104052aeb3b4dacdf33d9ecf55f1ed33f1d.tar.gz
coreclr-d1ee2104052aeb3b4dacdf33d9ecf55f1ed33f1d.tar.bz2
coreclr-d1ee2104052aeb3b4dacdf33d9ecf55f1ed33f1d.zip
Disable DEBUG_MESSAGES in release build of CoreCLR PAL
This reduces the size of libcoreclr by 1.3MB and improves performace results by a few percent on some benchmarks.
Diffstat (limited to 'src/pal/src/init')
-rw-r--r--src/pal/src/init/sxs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/init/sxs.cpp b/src/pal/src/init/sxs.cpp
index e3fed10849..f568711344 100644
--- a/src/pal/src/init/sxs.cpp
+++ b/src/pal/src/init/sxs.cpp
@@ -230,7 +230,7 @@ PAL_ReenterForEH()
}
else if (!pThread->IsInPal())
{
-#if !_NO_DEBUG_MESSAGES_
+#if _ENABLE_DEBUG_MESSAGES_
DBG_PRINTF(DLI_ENTRY, defdbgchan, TRUE)("PAL_ReenterForEH()\n");
#endif