소스 검색

Comments on long debug branches

Source commit: 8f65a626bbb270436f23cbfc5cc1c857d3700b0f
Martin Prikryl 10 년 전
부모
커밋
2c5e0581e4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      source/core/Global.h

+ 2 - 2
source/core/Global.h

@@ -42,13 +42,13 @@ private:
 #define DebugAlwaysTrue(p) p
 #define DebugAlwaysFalse(p) p
 #define DebugNotNull(P) P
-#else
+#else // ifndef _DEBUG
 #define DebugCheck(p) { bool __CHECK_RESULT__ = (p); DebugAssert(__CHECK_RESULT__); }
 #define DebugFail DebugAssert(false)
 #define DebugAlwaysTrue(p) (p)
 #define DebugAlwaysFalse(p) (p)
 #define DebugNotNull(P) P
-#endif
+#endif // ifndef _DEBUG
 #define DebugUsedParam(p) ((&p) == (&p))
 //---------------------------------------------------------------------------
 #endif