diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-02 17:54:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-02 20:00:17 +0200 |
commit | 86cd29772e4f0571149c479378164572fbc96034 (patch) | |
tree | 8f6334813634bbb4324c5be25cb43f6e13156d58 /include/sal/types.h | |
parent | DOCX import: handle <w:tcPr> directly under <w:style> (diff) | |
download | core-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 'include/sal/types.h')
-rw-r--r-- | include/sal/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sal/types.h b/include/sal/types.h index af98c876127d..56d6e15bd5b2 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -497,7 +497,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) { SAL_WNODEPRECATED_DECLARATIONS_POP */ -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE && HAVE_GCC_PRAGMA_OPERATOR +#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE && HAVE_GCC_PRAGMA_OPERATOR #define SAL_WNODEPRECATED_DECLARATIONS_PUSH \ _Pragma(SAL_STRINGIFY_ARG(GCC diagnostic push)) \ _Pragma(SAL_STRINGIFY_ARG(GCC diagnostic ignored "-Wdeprecated-declarations")) |