diff options
-rw-r--r-- | include/tools/debug.hxx | 4 | ||||
-rw-r--r-- | tools/source/debug/debug.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/svmain.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx index 3f5d68a670e4..3fa2d5f9460a 100644 --- a/include/tools/debug.hxx +++ b/include/tools/debug.hxx @@ -35,7 +35,8 @@ standard assert. */ -#ifdef DBG_UTIL +#ifndef NDEBUG +// we want the solar mutex checking to be enabled in the assert-enabled builds that the QA people use typedef void (*DbgTestSolarMutexProc)(); @@ -49,7 +50,6 @@ do \ } while(false) #else -// NO DBG_UTIL #define DBG_TESTSOLARMUTEX() ((void)0) diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 220d577be52d..9f32eab3267c 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -45,7 +45,7 @@ #include <cxxabi.h> #endif -#ifdef DBG_UTIL +#ifndef NDEBUG struct DebugData { diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index c2de4819b541..471abc951ffc 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -367,7 +367,7 @@ bool InitVCL() // Set exception handler pExceptionHandler = osl_addSignalHandler(VCLExceptionSignal_impl, nullptr); -#ifdef DBG_UTIL +#ifndef NDEBUG DbgGUIInitSolarMutexCheck(); #endif |