diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-04-17 15:40:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-04-17 17:25:03 +0200 |
commit | 92f6f9ec785f1009e2c94082a751696c74eaf236 (patch) | |
tree | 2b1dd2a91f16eab2ab2358864ad4618e8aa52c92 /config_host | |
parent | 4d1bd3cba9b4c971c05974a2805b018ec8ba18e2 (diff) |
No need for HAVE_GCC_PRAGMA_OPERATOR
The _Pragma operator is a C99/C++11 feature, and we only need it for GCC and
Clang anyway, to inject some
#pragma GCC diagnostic ...
directives. (MSVC would only support it with the upcoming VS 2019 Version 16.6,
see <https://devblogs.microsoft.com/cppblog/
announcing-full-support-for-a-c-c-conformant-preprocessor-in-msvc/>.)
Change-Id: I6de3611021a28ba13860f55e7ad005ad3fbbb5e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92452
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_global.h.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in index 951c2502ba9c..99da1d93e6c7 100644 --- a/config_host/config_global.h.in +++ b/config_host/config_global.h.in @@ -13,8 +13,6 @@ Any change in this header will cause a rebuild of almost everything. #define CONFIG_GLOBAL_H #define HAVE_GCC_BUILTIN_ATOMIC 0 -/* _Pragma */ -#define HAVE_GCC_PRAGMA_OPERATOR 0 #define HAVE_GCC_DEPRECATED_MESSAGE 0 #define HAVE_SYSLOG_H 0 |