summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.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/gui_w32.c
parent691ddeefb545d8488e5a495af61caba2e57b3de9 (diff)
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/gui_w32.c')
-rw-r--r--src/gui_w32.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 8d28148808..5961830737 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1303,9 +1303,6 @@ gui_mch_def_colors(void)
int
gui_mch_open(void)
{
-#ifndef SW_SHOWDEFAULT
-# define SW_SHOWDEFAULT 10 /* Borland 5.0 doesn't have it */
-#endif
/* Actually open the window, if not already visible
* (may be done already in gui_mch_set_shellsize) */
if (!IsWindowVisible(s_hwnd))
@@ -3799,9 +3796,6 @@ _OnScroll(
* Add a lot of missing defines.
* They are not always missing, we need the #ifndef's.
*/
-# ifndef _cdecl
-# define _cdecl
-# endif
# ifndef IsMinimized
# define IsMinimized(hwnd) IsIconic(hwnd)
# endif
@@ -5521,7 +5515,7 @@ gui_mch_set_sp_color(guicolor_T color)
* First static functions (no prototypes generated).
*/
# ifdef _MSC_VER
-# include <ime.h> /* Apparently not needed for Cygwin, MingW or Borland. */
+# include <ime.h> /* Apparently not needed for Cygwin or MinGW. */
# endif
# include <imm.h>
@@ -6272,15 +6266,6 @@ gui_mch_draw_string(
void
gui_mch_flush(void)
{
-# if defined(__BORLANDC__)
- /*
- * The GdiFlush declaration (in Borland C 5.01 <wingdi.h>) is not a
- * prototype declaration.
- * The compiler complains if __stdcall is not used in both declarations.
- */
- BOOL __stdcall GdiFlush(void);
-# endif
-
#if defined(FEAT_DIRECTX)
if (IS_ENABLE_DIRECTX())
DWriteContext_Flush(s_dwc);