diff src/if_ole.cpp @ 931:c5871806d7e6 v7.0.057

updated for version 7.0-057
author vimboss
date Wed, 16 Aug 2006 15:34:57 +0000
parents 3cd88bdcd97d
children 9fbb40a1228a
line wrap: on
line diff
--- a/src/if_ole.cpp
+++ b/src/if_ole.cpp
@@ -13,14 +13,23 @@
  * See os_mswin.c for the client side.
  */
 
+/*
+ * We have some trouble with order of includes here.  For Borland it needs to
+ * be different from MSVC...
+ */
+#ifndef __BORLANDC__
 extern "C" {
-#include "vim.h"
+# include "vim.h"
 }
+#endif
 
 #include <windows.h>
 #include <oleauto.h>
 
 extern "C" {
+#ifdef __BORLANDC__
+# include "vim.h"
+#endif
 extern HWND s_hwnd;
 extern HWND vim_parent_hwnd;
 }