From 50a94f972d26ee15fc22cce657d13023d1022905 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 26 Jan 2021 09:41:55 +0000 Subject: Fix debug macro situation (#5114) Use the standard NDEBUG. --- src/Bindings/LuaState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Bindings/LuaState.h') diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index b3f567ecb..8798b2b68 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -58,7 +58,7 @@ class cLuaState { public: - #ifdef _DEBUG + #ifndef NDEBUG /** Asserts that the Lua stack has the same amount of entries when this object is destructed, as when it was constructed. Used for checking functions that should preserve Lua stack balance. */ class cStackBalanceCheck -- cgit v1.2.3