summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-02 17:54:03 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-02 20:00:17 +0200
commit86cd29772e4f0571149c479378164572fbc96034 (patch)
tree8f6334813634bbb4324c5be25cb43f6e13156d58 /l10ntools
parent78766aaa12ae4fae9dd2f3274617ba41de57eefd (diff)
remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macro
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfglex.l2
-rw-r--r--l10ntools/source/srclex.l2
-rw-r--r--l10ntools/source/xrmlex.l2
3 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index f87baf41813d..0fe951c0ff37 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -44,7 +44,7 @@
#include "cfglex.hxx"
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
+#if __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index b484881d0232..0985b431f04c 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -45,7 +45,7 @@
#include "srclex.hxx"
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
+#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index c29406e030f4..ec00468de4d9 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -43,7 +43,7 @@
#include "sal/main.h"
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
+#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))