Fix incorrect usage of preprocessor define
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 2 May 2016 04:53:43 +0000 (13:53 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 3 May 2016 06:03:49 +0000 (15:03 +0900)
In native world, it's DEBUG, not DBG.

Fix #4712

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
src/inc/winrt/paraminstanceapi.h

index ba36486..062c7f3 100644 (file)
@@ -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; }