summaryrefslogtreecommitdiff
path: root/src/if_ole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r--src/if_ole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp
index 088888363..8ee348d66 100644
--- a/src/if_ole.cpp
+++ b/src/if_ole.cpp
@@ -6,7 +6,7 @@
* Do ":help credits" in Vim to see a list of people who contributed.
*/
-#if defined(FEAT_OLE) && defined(FEAT_GUI_W32)
+#if defined(FEAT_OLE) && defined(WIN32) && defined(FEAT_GUI)
/*
* OLE server implementation.
*