diff options
author | ichizok <gclient.gaap@gmail.com> | 2022-11-04 22:38:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-04 22:38:11 +0000 |
commit | 6c3d3e69047438ff5b7f58d44fe66af9e2c4212b (patch) | |
tree | e683dc534c13d86fc8103fc85e8df7df4d1e6147 /src/if_python3.c | |
parent | 5375205761b5ed247f992abce341cf745dded38d (diff) |
patch 9.0.0831: compiler warning for redefining HAVE_DUPv9.0.0831
Problem: Compiler warning for redefining HAVE_DUP.
Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r-- | src/if_python3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if_python3.c b/src/if_python3.c index 1de8fe8d20..188e9c3e6d 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 |