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/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 86f0aa359..f61971e08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -289,7 +289,7 @@ int main(int argc, char ** argv) // Only useful when the leak is in the same sequence all the time // _CrtSetBreakAlloc(85950); -#endif // _DEBUG && _MSC_VER +#endif // !NDEBUG && _MSC_VER std::signal(SIGSEGV, NonCtrlHandler); std::signal(SIGTERM, NonCtrlHandler); -- cgit v1.2.3