# HG changeset patch # User Bram Moolenaar # Date 1667601904 -3600 # Node ID c207a462320a09dc99d3b7f57b66b944087e5a87 # Parent 39b6e4736265ebe58e7bfae5f829d6d429a14897 patch 9.0.0831: compiler warning for redefining HAVE_DUP Commit: https://github.com/vim/vim/commit/6c3d3e69047438ff5b7f58d44fe66af9e2c4212b Author: ichizok 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) diff --git a/src/if_python3.c b/src/if_python3.c --- 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 diff --git a/src/version.c b/src/version.c --- 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,