patch 7.4.2192
Problem: Generating prototypes with Cygwin doesn't work well.
Solution: Change #ifdefs. (Ken Takata)
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 19f4d65..78db43e 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -247,6 +247,7 @@
# define CONST
# define FAR
# define NEAR
+# undef _cdecl
# define _cdecl
typedef int BOOL;
typedef int BYTE;
@@ -288,6 +289,7 @@
typedef int LPNMHDR;
typedef int LONG;
typedef int WNDPROC;
+typedef int UINT_PTR;
#endif
#ifndef GET_X_LPARAM
@@ -3451,7 +3453,7 @@
set_window_title(s_hwnd, (title == NULL ? "VIM" : (char *)title));
}
-#ifdef FEAT_MOUSESHAPE
+#if defined(FEAT_MOUSESHAPE) || defined(PROTO)
/* Table for shape IDCs. Keep in sync with the mshape_names[] table in
* misc2.c! */
static LPCSTR mshape_idcs[] =
@@ -3514,7 +3516,7 @@
}
#endif
-#ifdef FEAT_BROWSE
+#if defined(FEAT_BROWSE) || defined(PROTO)
/*
* The file browser exists in two versions: with "W" uses wide characters,
* without "W" the current codepage. When FEAT_MBYTE is defined and on