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)
diff --git a/src/message.c b/src/message.c
index 7c25658..0ddff8b 100644
--- a/src/message.c
+++ b/src/message.c
@@ -357,9 +357,6 @@
int vim_snprintf(char *str, size_t str_m, const char *fmt, ...);
int
-# ifdef __BORLANDC__
-_RTLENTRYF
-# endif
smsg(const char *s, ...)
{
va_list arglist;
@@ -371,9 +368,6 @@
}
int
-# ifdef __BORLANDC__
-_RTLENTRYF
-# endif
smsg_attr(int attr, const char *s, ...)
{
va_list arglist;
@@ -385,9 +379,6 @@
}
int
-# ifdef __BORLANDC__
-_RTLENTRYF
-# endif
smsg_attr_keep(int attr, const char *s, ...)
{
va_list arglist;
@@ -3091,7 +3082,7 @@
(isatty(2) && strcmp("/dev/console", ttyname(2)) != 0)
# else
isatty(2)
-# endif
+# endif
# ifdef FEAT_GUI
||
# endif