Patch 8.2.3958
Problem: Build failure compiling xxd with "-std=c2x".
Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
Files: src/xxd/xxd.c
*** ../vim-8.2.3957/src/xxd/xxd.c 2021-12-01 11:24:46.784558743 +0000
--- src/xxd/xxd.c 2021-12-31 17:33:03.755542311 +0000
***************
*** 72,77 ****
--- 72,81 ----
# define CYGWIN
#endif
+ #if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__)
+ # define _XOPEN_SOURCE 700 /* for fdopen() */
+ #endif
+
#include <stdio.h>
#ifdef VAXC
# include <file.h>
*** ../vim-8.2.3957/src/version.c 2021-12-31 17:25:44.044304828 +0000
--- src/version.c 2021-12-31 17:33:31.027494685 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3958,
/**/
--
An error has occurred. Hit any user to continue.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211231173429.6310C1C0A5B%40moolenaar.net.