patch 7.4.923
Problem: Prototypes not always generated.
Solution: Change #if to OR with PROTO.
diff --git a/src/version.c b/src/version.c
index 73c1b8f..edfbca8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 923,
+/**/
922,
/**/
921,
diff --git a/src/window.c b/src/window.c
index 60d9ceb..e8134e0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5580,7 +5580,7 @@
}
}
-#ifdef FEAT_MOUSE
+#if defined(FEAT_MOUSE) || defined(PROTO)
/*
* Status line of dragwin is dragged "offset" lines down (negative is up).
@@ -5713,7 +5713,7 @@
showmode();
}
-#ifdef FEAT_VERTSPLIT
+# if defined(FEAT_VERTSPLIT) || defined(PROTO)
/*
* Separator line of dragwin is dragged "offset" lines right (negative is left).
*/
@@ -5816,7 +5816,7 @@
(void)win_comp_pos();
redraw_all_later(NOT_VALID);
}
-#endif /* FEAT_VERTSPLIT */
+# endif /* FEAT_VERTSPLIT */
#endif /* FEAT_MOUSE */
#endif /* FEAT_WINDOWS */
@@ -7268,7 +7268,7 @@
}
#endif
-#ifdef FEAT_WINDOWS
+#if defined(FEAT_WINDOWS) || defined(PROTO)
/*
* Return TRUE if "topfrp" and its children are at the right height.
*/
@@ -7291,7 +7291,7 @@
}
#endif
-#ifdef FEAT_VERTSPLIT
+#if defined(FEAT_VERTSPLIT) || defined(PROTO)
/*
* Return TRUE if "topfrp" and its children are at the right width.
*/