changeset 30992:c207a462320a v9.0.0831

patch 9.0.0831: compiler warning for redefining HAVE_DUP Commit: https://github.com/vim/vim/commit/6c3d3e69047438ff5b7f58d44fe66af9e2c4212b Author: ichizok <gclient.gaap@gmail.com> Date: Fri Nov 4 22:38:11 2022 +0000 patch 9.0.0831: compiler warning for redefining HAVE_DUP Problem: Compiler warning for redefining HAVE_DUP. Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/11484)
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Nov 2022 23:45:04 +0100
parents 39b6e4736265
children c52502487895
files src/if_python3.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -45,6 +45,9 @@
 # undef F_BLANK
 #endif
 
+#ifdef HAVE_DUP
+# undef HAVE_DUP
+#endif
 #ifdef HAVE_STRFTIME
 # undef HAVE_STRFTIME
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    831,
+/**/
     830,
 /**/
     829,