summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-03 10:46:40 +0200
committerNoel Grandin <noel@peralex.com>2014-10-03 10:47:16 +0200
commitbbe9a7b8b390d0e0e668ebb26af8c35cfd5805af (patch)
tree10ecaa095391a2e8a1ae6363642b3b912d0dd305
parentd6c842e0e9f88a7edf642c8f807b92e7ced9a1d1 (diff)
fix clang 3.5 build
Change-Id: I86fe850b4b7bc8fc4c44717ca813772114ca70ff
-rw-r--r--sal/osl/unx/signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index ba4a32579d9b..18461b0b8fba 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" );
-#ifdef __GNUC__
+#if __GNUC__ && !__clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
VALGRIND_DO_LEAK_CHECK;
-#ifdef __GNUC__
+#if __GNUC__ && !__clang__
# pragma GCC diagnostic pop
#endif