]> granicus.if.org Git - vim/commitdiff
patch 9.0.0831: compiler warning for redefining HAVE_DUP v9.0.0831
authorichizok <gclient.gaap@gmail.com>
Fri, 4 Nov 2022 22:38:11 +0000 (22:38 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 4 Nov 2022 22:38:11 +0000 (22:38 +0000)
Problem:    Compiler warning for redefining HAVE_DUP.
Solution:   Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484)

src/if_python3.c
src/version.c

index 1de8fe8d2033bee8a11b09b051ff898804041c6b..188e9c3e6d6645593db211dd267b0d102ee33af0 100644 (file)
@@ -45,6 +45,9 @@
 # undef F_BLANK
 #endif
 
+#ifdef HAVE_DUP
+# undef HAVE_DUP
+#endif
 #ifdef HAVE_STRFTIME
 # undef HAVE_STRFTIME
 #endif
index a914e78af45b42944b2612cf3a862d396d8ca5f1..ca709146494119f9c188c97bd0270a82c74fc66d 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    831,
 /**/
     830,
 /**/