diff src/window.c @ 5025:322441058afc v7.3.1256

updated for version 7.3.1256 Problem: Can't build without eval or autocmd feature. Solution: Add #ifdefs.
author Bram Moolenaar <bram@vim.org>
date Fri, 28 Jun 2013 20:16:55 +0200
parents a1b41dabc682
children cad8d29b0bc0
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -53,10 +53,10 @@ static void win_free __ARGS((win_T *wp, 
 static void frame_append __ARGS((frame_T *after, frame_T *frp));
 static void frame_insert __ARGS((frame_T *before, frame_T *frp));
 static void frame_remove __ARGS((frame_T *frp));
-#ifdef FEAT_VERTSPLIT
+# ifdef FEAT_VERTSPLIT
 static void win_goto_ver __ARGS((int up, long count));
 static void win_goto_hor __ARGS((int left, long count));
-#endif
+# endif
 static void frame_add_height __ARGS((frame_T *frp, int n));
 static void last_status_rec __ARGS((frame_T *fr, int statusline));
 
@@ -6928,6 +6928,7 @@ get_tab_number(tabpage_T *tp UNUSED)
 }
 #endif
 
+#ifdef FEAT_WINDOWS
 /*
  * Return TRUE if "topfrp" and its children are at the right height.
  */
@@ -6948,6 +6949,7 @@ frame_check_height(topfrp, height)
 
     return TRUE;
 }
+#endif
 
 #ifdef FEAT_VERTSPLIT
 /*