Mercurial > vim
comparison src/if_ole.cpp @ 16606:7e733046db1d v8.1.1306
patch 8.1.1306: Borland support is outdated and doesn't work
commit https://github.com/vim/vim/commit/eae1b91fea74842000fc055afc74fe2e7934c6ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 9 15:12:55 2019 +0200
patch 8.1.1306: Borland support is outdated and doesn't work
Problem: Borland support is outdated and doesn't work.
Solution: Remove Borland support, there are other (free) compilers
available. (Thomas Dziedzic, Ken Takata, closes #4364)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 May 2019 15:15:07 +0200 |
parents | cdb9cbe731b3 |
children | fc58fee685e2 |
comparison
equal
deleted
inserted
replaced
16605:50115650f6c7 | 16606:7e733046db1d |
---|---|
10 /* | 10 /* |
11 * OLE server implementation. | 11 * OLE server implementation. |
12 * | 12 * |
13 * See os_mswin.c for the client side. | 13 * See os_mswin.c for the client side. |
14 */ | 14 */ |
15 | |
16 /* | |
17 * We have some trouble with order of includes here. For Borland it needs to | |
18 * be different from MSVC... | |
19 */ | |
20 #ifndef __BORLANDC__ | |
21 extern "C" { | 15 extern "C" { |
22 # include "vim.h" | 16 # include "vim.h" |
23 } | 17 } |
24 #endif | |
25 | 18 |
26 #include <windows.h> | 19 #include <windows.h> |
27 #include <oleauto.h> | 20 #include <oleauto.h> |
28 | 21 |
29 extern "C" { | 22 extern "C" { |
30 #ifdef __BORLANDC__ | |
31 # include "vim.h" | |
32 #endif | |
33 extern HWND s_hwnd; | 23 extern HWND s_hwnd; |
34 extern HWND vim_parent_hwnd; | 24 extern HWND vim_parent_hwnd; |
35 } | 25 } |
36 | 26 |
37 #if (defined(_MSC_VER) && (_MSC_VER >= 1700)) || (__cplusplus >= 201103L) | 27 #if (defined(_MSC_VER) && (_MSC_VER >= 1700)) || (__cplusplus >= 201103L) |