mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
1a9922243a
commit
ef089f50f9
@ -749,6 +749,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3958,
|
||||||
/**/
|
/**/
|
||||||
3957,
|
3957,
|
||||||
/**/
|
/**/
|
||||||
|
@ -72,6 +72,10 @@
|
|||||||
# define CYGWIN
|
# define CYGWIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__)
|
||||||
|
# define _XOPEN_SOURCE 700 /* for fdopen() */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifdef VAXC
|
#ifdef VAXC
|
||||||
# include <file.h>
|
# include <file.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user