mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
MSVC: Define STDOUT_FILENO and STDERR_FILENO.
This commit is contained in:
parent
376b973a0a
commit
eb53ec5ba2
@ -3,6 +3,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
|
||||
#define TEMP_FILE_PATH_MAXLEN _MAX_PATH
|
||||
@ -18,6 +19,12 @@
|
||||
# ifndef restrict
|
||||
# define restrict __restrict
|
||||
# endif
|
||||
# ifndef STDOUT_FILENO
|
||||
# define STDOUT_FILENO _fileno(stdout)
|
||||
# endif
|
||||
# ifndef STDERR_FILENO
|
||||
# define STDERR_FILENO _fileno(stderr)
|
||||
# endif
|
||||
# ifndef S_IXUSR
|
||||
# define S_IXUSR S_IEXEC
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user