comparison src/os_w32exe.c @ 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 7ae2396cef62
children
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
13 * Ron Aaron <ronaharon@yahoo.com> wrote this and the (now deleted) DLL support 13 * Ron Aaron <ronaharon@yahoo.com> wrote this and the (now deleted) DLL support
14 * code. 14 * code.
15 */ 15 */
16 #include "vim.h" 16 #include "vim.h"
17 17
18 #ifdef __MINGW32__
19 # ifndef _cdecl
20 # define _cdecl
21 # endif
22 #endif
23
24 // cproto doesn't create a prototype for VimMain() 18 // cproto doesn't create a prototype for VimMain()
25 #ifdef VIMDLL 19 #ifdef VIMDLL
26 __declspec(dllimport) 20 __declspec(dllimport)
27 #endif 21 #endif
28 int _cdecl VimMain(int argc, char **argv); 22 int VimMain(int argc, char **argv);
29 #ifndef VIMDLL 23 #ifndef VIMDLL
30 void _cdecl SaveInst(HINSTANCE hInst); 24 void SaveInst(HINSTANCE hInst);
31 #endif 25 #endif
32 26
33 #ifndef PROTO 27 #ifndef PROTO
34 # ifdef FEAT_GUI 28 # ifdef FEAT_GUI
35 int WINAPI 29 int WINAPI