comparison src/message.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 2f86ca0c1e6b
children ef00b6bc186b
comparison
equal deleted inserted replaced
16605:50115650f6c7 16606:7e733046db1d
355 #ifndef PROTO 355 #ifndef PROTO
356 356
357 int vim_snprintf(char *str, size_t str_m, const char *fmt, ...); 357 int vim_snprintf(char *str, size_t str_m, const char *fmt, ...);
358 358
359 int 359 int
360 # ifdef __BORLANDC__
361 _RTLENTRYF
362 # endif
363 smsg(const char *s, ...) 360 smsg(const char *s, ...)
364 { 361 {
365 va_list arglist; 362 va_list arglist;
366 363
367 va_start(arglist, s); 364 va_start(arglist, s);
369 va_end(arglist); 366 va_end(arglist);
370 return msg((char *)IObuff); 367 return msg((char *)IObuff);
371 } 368 }
372 369
373 int 370 int
374 # ifdef __BORLANDC__
375 _RTLENTRYF
376 # endif
377 smsg_attr(int attr, const char *s, ...) 371 smsg_attr(int attr, const char *s, ...)
378 { 372 {
379 va_list arglist; 373 va_list arglist;
380 374
381 va_start(arglist, s); 375 va_start(arglist, s);
383 va_end(arglist); 377 va_end(arglist);
384 return msg_attr((char *)IObuff, attr); 378 return msg_attr((char *)IObuff, attr);
385 } 379 }
386 380
387 int 381 int
388 # ifdef __BORLANDC__
389 _RTLENTRYF
390 # endif
391 smsg_attr_keep(int attr, const char *s, ...) 382 smsg_attr_keep(int attr, const char *s, ...)
392 { 383 {
393 va_list arglist; 384 va_list arglist;
394 385
395 va_start(arglist, s); 386 va_start(arglist, s);
3089 # ifdef UNIX 3080 # ifdef UNIX
3090 # ifdef MACOS_X 3081 # ifdef MACOS_X
3091 (isatty(2) && strcmp("/dev/console", ttyname(2)) != 0) 3082 (isatty(2) && strcmp("/dev/console", ttyname(2)) != 0)
3092 # else 3083 # else
3093 isatty(2) 3084 isatty(2)
3094 # endif 3085 # endif
3095 # ifdef FEAT_GUI 3086 # ifdef FEAT_GUI
3096 || 3087 ||
3097 # endif 3088 # endif
3098 # endif 3089 # endif
3099 # ifdef FEAT_GUI 3090 # ifdef FEAT_GUI