summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l
index aa306a98d03a..5f9b7a222029 100644
--- a/idlc/source/scanner.l
+++ b/idlc/source/scanner.l
@@ -238,7 +238,7 @@ static void parseLineAndFile(sal_Char* pBuf)
}
// Suppress any warnings from generated code:
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
+#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
#elif defined _MSC_VER