]> granicus.if.org Git - vim/commitdiff
patch 8.2.5133: MacOS: build fails v8.2.5133
authorBram Moolenaar <Bram@vim.org>
Sun, 19 Jun 2022 16:22:49 +0000 (17:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 19 Jun 2022 16:22:49 +0000 (17:22 +0100)
Problem:    MacOS: build fails.
Solution:   Remove "#if 0" from timer_delete().

src/os_macosx.m
src/version.c

index 1fdfbc70dd1a09d9ce2ec64885a51b1f81fc3a9a..acc5b0794d777c6e931d081a721c5d205645fcd8 100644 (file)
@@ -370,7 +370,6 @@ timer_settime(
  * Disabled because it is not currently used, but an implemented provided
  * for completeness and possible future use.
  */
-#if 0
     int
 timer_delete(timer_t timerid)
 {
@@ -380,7 +379,6 @@ timer_delete(timer_t timerid)
 
     return 0;
 }
-#endif
 
 #endif /* FEAT_RELTIME */
 
index c045d17fb667d96e2445a7d177d91b544d66f074..f27217e147483079f33565aefe67e478243e5e34 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5133,
 /**/
     5132,
 /**/