Patch 8.2.3958

6 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 31, 2021, 12:34:33 PM12/31/21
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages