Kaydet (Commit) 9cceba9a authored tarafından Noel Grandin's avatar Noel Grandin

make DBG_TESTSOLARMUTEX available in assert builds

where our QA people are more likely to trigger it

Change-Id: I4ce7c8c72e7e21f2296c0f9cc9f019aaef32ed0b
Reviewed-on: https://gerrit.libreoffice.org/58170
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst b3d28822
......@@ -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)
......
......@@ -45,7 +45,7 @@
#include <cxxabi.h>
#endif
#ifdef DBG_UTIL
#ifndef NDEBUG
struct DebugData
{
......
......@@ -367,7 +367,7 @@ bool InitVCL()
// Set exception handler
pExceptionHandler = osl_addSignalHandler(VCLExceptionSignal_impl, nullptr);
#ifdef DBG_UTIL
#ifndef NDEBUG
DbgGUIInitSolarMutexCheck();
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment