Merge pull request #3846 from sethjackson/win-defs

MSVC: Define S_IXUSR.
This commit is contained in:
Justin M. Keyes 2015-12-16 10:12:49 -05:00
commit c42cb49a96

View File

@ -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