From eae1b91fea74842000fc055afc74fe2e7934c6ee Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 May 2019 15:12:55 +0200 Subject: 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) --- src/os_win32.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/os_win32.h') diff --git a/src/os_win32.h b/src/os_win32.h index ea1018256..2169bd311 100644 --- a/src/os_win32.h +++ b/src/os_win32.h @@ -53,12 +53,10 @@ #define FEAT_SHORTCUT /* resolve shortcuts */ -#if (!defined(__BORLANDC__) || __BORLANDC__ >= 0x550) \ - && (!defined(_MSC_VER) || _MSC_VER > 1020) +#if (!defined(_MSC_VER) || _MSC_VER > 1020) /* * Access Control List (actually security info). - * Borland has the acl stuff only in version 5.5 and later. - * MSVC in 5.0, not in 4.2, don't know about 4.3. + * MSVC has acl stuff only in 5.0, not in 4.2, don't know about 4.3. */ # define HAVE_ACL #endif @@ -142,8 +140,8 @@ # define IO_REPARSE_TAG_SYMLINK 0xA000000C #endif -#if defined(_MSC_VER) || defined(__BORLANDC__) - /* Support for __try / __except. All versions of MSVC and Borland C are +#if defined(_MSC_VER) + /* Support for __try / __except. All versions of MSVC are * expected to have this. Any other compilers that support it? */ # define HAVE_TRY_EXCEPT 1 # include /* for _resetstkoflw() */ @@ -206,11 +204,7 @@ Trace(char *pszFormat, ...); # define HAVE_SETENV #endif #define mch_getenv(x) (char_u *)getenv((char *)(x)) -#ifdef __BORLANDC__ -# define vim_mkdir(x, y) mkdir(x) -#else -# define vim_mkdir(x, y) mch_mkdir(x) -#endif +#define vim_mkdir(x, y) mch_mkdir(x) /* Enable common dialogs input unicode from IME if possible. */ #define pDispatchMessage DispatchMessageW -- cgit v1.2.1