From aa36af214af2fee014451467ec185a822124fe67 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Tue, 15 Dec 2015 11:17:35 -0500 Subject: [PATCH] MSVC: Define S_IXUSR. --- src/nvim/os/win_defs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 32960dfbe9..16cddc110f 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -2,6 +2,7 @@ #define NVIM_OS_WIN_DEFS_H #include +#include #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