mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
MSVC: Define S_IXUSR.
This commit is contained in:
parent
77c0f9a62b
commit
aa36af214a
@ -2,6 +2,7 @@
|
|||||||
#define NVIM_OS_WIN_DEFS_H
|
#define NVIM_OS_WIN_DEFS_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
|
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
|
||||||
#define TEMP_FILE_PATH_MAXLEN _MAX_PATH
|
#define TEMP_FILE_PATH_MAXLEN _MAX_PATH
|
||||||
@ -15,6 +16,9 @@
|
|||||||
# ifndef restrict
|
# ifndef restrict
|
||||||
# define restrict __restrict
|
# define restrict __restrict
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef S_IXUSR
|
||||||
|
# define S_IXUSR S_IEXEC
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user