diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-24 18:13:02 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-24 20:01:25 +0200 |
commit | 56b5046e03d2db684fe35239acfea553ff7d9b7f (patch) | |
tree | 0fdf0f009ecf9788c8563304bba75952c2a8a603 /libreofficekit | |
parent | 910bbd320f0019737add834a54aff7ab56247681 (diff) |
_MSC_VER is more appropriate to guard MSVC-specific #pragma
Thanks to sberg for noticing this
Change-Id: I37a3031cbfa3f8a0751bab126bd742dcec36664f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141743
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx b/libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx index 32ad84ac116a..ef2f26917b30 100644 --- a/libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx @@ -151,7 +151,7 @@ static void initWindow(GtvApplicationWindow* window) #if defined __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" -#elif defined _WIN32 +#elif defined _MSC_VER #pragma warning(push) #pragma warning(disable:4996) #endif @@ -161,7 +161,7 @@ static void initWindow(GtvApplicationWindow* window) gtk_container_set_focus_chain ( GTK_CONTAINER (priv->container), focusChain ); #if defined __GNUC__ #pragma GCC diagnostic pop -#elif defined _WIN32 +#elif defined _MSC_VER #pragma warning(pop) #endif |