summaryrefslogtreecommitdiffstats
path: root/l10ntools/source/cfglex.l
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/source/cfglex.l
parentDOCX import: handle <w:tcPr> directly under <w:style> (diff)
downloadcore-86cd29772e4f0571149c479378164572fbc96034.tar.gz
core-86cd29772e4f0571149c479378164572fbc96034.zip
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/source/cfglex.l')
-rw-r--r--l10ntools/source/cfglex.l2
1 files changed, 1 insertions, 1 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))