mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.3958: build failure compiling xxd with "-std=c2x"
Problem: Build failure compiling xxd with "-std=c2x". Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
This commit is contained in:
committed by
Bram Moolenaar
parent
1a9922243a
commit
ef089f50f9
@@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3958,
|
||||
/**/
|
||||
3957,
|
||||
/**/
|
||||
|
@@ -72,6 +72,10 @@
|
||||
# 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>
|
||||
|
Reference in New Issue
Block a user