diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/cfglex.l | 2 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 2 | ||||
-rw-r--r-- | l10ntools/source/xrmlex.l | 2 |
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)) |