Index: core/include/fxcrt/fx_system.h |
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h |
index f4798680d3898d3eb576b82597748e026edf9afa..41dc4468a6d41aef92ef51859fa1b57b95c7c2aa 100644 |
--- a/core/include/fxcrt/fx_system.h |
+++ b/core/include/fxcrt/fx_system.h |
@@ -81,10 +81,6 @@ typedef wchar_t FX_WCHAR; // Keep, maybe bad platform wchars. |
// TODO(palmer): it should be a |size_t|, or at least unsigned. |
typedef int FX_STRSIZE; |
-#if defined(DEBUG) && !defined(_DEBUG) |
-#define _DEBUG |
-#endif |
- |
#ifndef TRUE |
#define TRUE 1 |
#endif |
@@ -104,7 +100,7 @@ static_assert(FALSE == false, "false_needs_to_be_false"); |
#define FXSYS_assert assert |
#ifndef ASSERT |
-#ifdef _DEBUG |
+#ifndef NDEBUG |
#define ASSERT FXSYS_assert |
#else |
#define ASSERT(a) |