comparison src/ex_getln.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 5b5c5daf57de
children 77bcb5055fec
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
123 #ifdef FEAT_CMDWIN 123 #ifdef FEAT_CMDWIN
124 static int open_cmdwin(void); 124 static int open_cmdwin(void);
125 #endif 125 #endif
126 126
127 #if defined(FEAT_CMDL_COMPL) || defined(PROTO) 127 #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
128 static int 128 static int sort_func_compare(const void *s1, const void *s2);
129 #ifdef __BORLANDC__
130 _RTLENTRYF
131 #endif
132 sort_func_compare(const void *s1, const void *s2);
133 #endif 129 #endif
134 130
135 131
136 static void 132 static void
137 trigger_cmd_autocmd(int typechar, int evt) 133 trigger_cmd_autocmd(int typechar, int evt)
3801 return check_abbr(c, ccline.cmdbuff, ccline.cmdpos, spos); 3797 return check_abbr(c, ccline.cmdbuff, ccline.cmdpos, spos);
3802 } 3798 }
3803 3799
3804 #if defined(FEAT_CMDL_COMPL) || defined(PROTO) 3800 #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
3805 static int 3801 static int
3806 #ifdef __BORLANDC__
3807 _RTLENTRYF
3808 #endif
3809 sort_func_compare(const void *s1, const void *s2) 3802 sort_func_compare(const void *s1, const void *s2)
3810 { 3803 {
3811 char_u *p1 = *(char_u **)s1; 3804 char_u *p1 = *(char_u **)s1;
3812 char_u *p2 = *(char_u **)s2; 3805 char_u *p2 = *(char_u **)s2;
3813 3806
6853 } 6846 }
6854 } 6847 }
6855 6848
6856 #if defined(FEAT_CMDL_COMPL) || defined(PROTO) 6849 #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
6857 static int 6850 static int
6858 #ifdef __BORLANDC__
6859 _RTLENTRYF
6860 #endif
6861 sort_hist(const void *s1, const void *s2) 6851 sort_hist(const void *s1, const void *s2)
6862 { 6852 {
6863 histentry_T *p1 = *(histentry_T **)s1; 6853 histentry_T *p1 = *(histentry_T **)s1;
6864 histentry_T *p2 = *(histentry_T **)s2; 6854 histentry_T *p2 = *(histentry_T **)s2;
6865 6855