[Libreoffice-commits] core.git: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 31 13:42:14 UTC 2018


 vcl/source/app/dbggui.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0522251d5bf21185b907acb068619dbfc3ac4684
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Jul 31 15:41:28 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Jul 31 15:41:28 2018 +0200

    more fix windows --enable-debug build
    
    follow on to
    
        commit cba7acca97ac0245b93e27ba46351285fd7c5ff2
        fix windows --enable-debug build
    
    which tried to fix the regression from
    
        commit 9cceba9a928cf3b3447f293020be2fe76c035ed5
        make DBG_TESTSOLARMUTEX available in assert builds
    
    Change-Id: I054552a53fd86a9b6cefcdad055f1f870c47e07c

diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index c136c6c266a1..1f8db580f978 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -19,7 +19,7 @@
 
 #include <sal/config.h>
 
-#ifdef DBG_UTIL
+#ifndef NDEBUG
 
 #include <limits.h>
 
@@ -57,6 +57,6 @@ void DbgGUIDeInitSolarMutexCheck()
     DbgSetTestSolarMutex( nullptr );
 }
 
-#endif // DBG_UTIL
+#endif // NDEBUG
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list