summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx4
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