Mercurial > vim
changeset 931:c5871806d7e6 v7.0.057
updated for version 7.0-057
author | vimboss |
---|---|
date | Wed, 16 Aug 2006 15:34:57 +0000 |
parents | 529c6a431ff5 |
children | c9ddc2338f41 |
files | src/if_ole.cpp src/version.c |
diffstat | 2 files changed, 12 insertions(+), 1 deletions(-) [+] |
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; }