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