]> granicus.if.org Git - vim/commitdiff
patch 7.4.2037 v7.4.2037
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Jul 2016 20:34:34 +0000 (22:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Jul 2016 20:34:34 +0000 (22:34 +0200)
Problem:    Small build fails.
Solution:   Adjust #ifdefs.

src/hashtab.c
src/version.c

index f9c7c2799498f8c4fda0aa42621962fcb228ea15..84d9b9a5affc4ec1f416d489cb2fa739b61a7aee 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "vim.h"
 
-#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
-
 #if 0
 # define HT_DEBUG      /* extra checks for table consistency  and statistics */
 
@@ -72,6 +70,7 @@ hash_init(hashtab_T *ht)
     ht->ht_mask = HT_INIT_SIZE - 1;
 }
 
+#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
 /*
  * Free the array of a hash table.  Does not free the items it contains!
  * If "ht" is not freed then you should call hash_init() next!
@@ -105,6 +104,7 @@ hash_clear_all(hashtab_T *ht, int off)
     }
     hash_clear(ht);
 }
+#endif
 
 /*
  * Find "key" in hashtable "ht".  "key" must not be NULL.
@@ -478,5 +478,3 @@ hash_hash(char_u *key)
 
     return hash;
 }
-
-#endif
index 23a5993adf40b0648af3f2bf499746e47a237814..45aada0f69cda0cff952afe998d41677a8051116 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2037,
 /**/
     2036,
 /**/