From: ichizok Date: Fri, 4 Nov 2022 22:38:11 +0000 (+0000) Subject: patch 9.0.0831: compiler warning for redefining HAVE_DUP X-Git-Tag: v9.0.0831 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c3d3e69047438ff5b7f58d44fe66af9e2c4212b;p=vim 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 #11484) --- diff --git a/src/if_python3.c b/src/if_python3.c index 1de8fe8d2..188e9c3e6 100644 --- 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 index a914e78af..ca7091464 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 831, /**/ 830, /**/