[Libreoffice-commits] core.git: sal/osl

Caolán McNamara caolanm at redhat.com
Fri Oct 3 03:11:53 PDT 2014


 sal/osl/unx/signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5ed973e0fa38b2752850c04659452aa1cf2479e4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 3 11:11:25 2014 +0100

    fix build
    
    Change-Id: I997dfa3b1fe651db56ad2a6a24ec0cb6d5044550

diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index 18461b0..6b73d50 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -893,14 +893,14 @@ static void DUMPCURRENTALLOCS(void)
 {
     VALGRIND_PRINTF( "=== start memcheck dump of active allocations ===\n" );
 
-#if __GNUC__ && !__clang__
+#if __GNUC__ && !defined(__clang__)
 #   pragma GCC diagnostic push
 #   pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #endif
 
     VALGRIND_DO_LEAK_CHECK;
 
-#if __GNUC__ && !__clang__
+#if __GNUC__ && !defined(__clang__)
 #   pragma GCC diagnostic pop
 #endif
 


More information about the Libreoffice-commits mailing list