summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-05-02 13:53:43 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-05-03 15:03:49 +0900
commit024178d9cc8fdd8dc30d28f90039c0a36ff4eaea (patch)
tree4b983cfa48aa9651b93bb358bbb8b93696058817 /src/inc
parent92e2d4e6fe1d1af3ee761637f1c99e4e8616282c (diff)
downloadcoreclr-024178d9cc8fdd8dc30d28f90039c0a36ff4eaea.tar.gz
coreclr-024178d9cc8fdd8dc30d28f90039c0a36ff4eaea.tar.bz2
coreclr-024178d9cc8fdd8dc30d28f90039c0a36ff4eaea.zip
Fix incorrect usage of preprocessor define
In native world, it's DEBUG, not DBG. Fix #4712 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/winrt/paraminstanceapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inc/winrt/paraminstanceapi.h b/src/inc/winrt/paraminstanceapi.h
index ba364862f2..062c7f3d08 100644
--- a/src/inc/winrt/paraminstanceapi.h
+++ b/src/inc/winrt/paraminstanceapi.h
@@ -78,7 +78,7 @@ namespace Ro { namespace detail {
// Debugging aide. Set breakpoint on _FailedHR
// to see HRESULT propagation.
//
- #ifdef DBG
+ #ifdef DEBUG
inline HRESULT __declspec(noinline) _FailedHR(HRESULT hr) { static HRESULT _hr = hr; return hr; }
#else
inline HRESULT _FailedHR(HRESULT hr) { return hr; }