MSVC: Define S_IXUSR.

This commit is contained in:
Rui Abreu Ferreira 2015-12-15 11:17:35 -05:00 committed by Seth Jackson
parent 77c0f9a62b
commit aa36af214a

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
@ -15,6 +16,9 @@
# ifndef restrict
# define restrict __restrict
# endif
# ifndef S_IXUSR
# define S_IXUSR S_IEXEC
# endif
#endif
#ifdef _MSC_VER