summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-09 15:12:55 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-09 15:12:55 +0200
commiteae1b91fea74842000fc055afc74fe2e7934c6ee (patch)
tree71fe047a88c21932a4c919c47b5d19847ee65471 /src/misc1.c
parent691ddeefb545d8488e5a495af61caba2e57b3de9 (diff)
downloadvim-git-eae1b91fea74842000fc055afc74fe2e7934c6ee.tar.gz
patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306
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)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 379709475..a1c9a8271 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -5626,18 +5626,11 @@ static int expand_backtick(garray_T *gap, char_u *pat, int flags);
* File name expansion code for MS-DOS, Win16 and Win32. It's here because
* it's shared between these systems.
*/
-# if defined(PROTO)
-# define _cdecl
-# else
-# ifdef __BORLANDC__
-# define _cdecl _RTLENTRYF
-# endif
-# endif
/*
* comparison function for qsort in dos_expandpath()
*/
- static int _cdecl
+ static int
pstrcmp(const void *a, const void *b)
{
return (pathcmp(*(char **)a, *(char **)b, -1));