summaryrefslogtreecommitdiff
path: root/rsc
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 /rsc
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 'rsc')
-rw-r--r--rsc/source/parser/rscyacc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 7325b6d0d25c..3900b67fd22d 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -257,7 +257,7 @@ RSCINST GetFirstTupelEle( const RSCINST & rTop )
#pragma warning(push, 1)
#pragma warning(disable:4129 4273 4701 4702)
#endif
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
+#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wwrite-strings"
#endif
%}