diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-16 10:12:49 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-12-16 10:12:49 -0500 |
commit | c42cb49a96beb72b363a2e1e6958b8b2ebd611b1 (patch) | |
tree | ff746d079dbe9ddee9247bd4b0441b0126d2edff | |
parent | 75cfd3c0ca9ef8b052a149a83efe7d94053107eb (diff) | |
parent | aa36af214af2fee014451467ec185a822124fe67 (diff) | |
download | rneovim-c42cb49a96beb72b363a2e1e6958b8b2ebd611b1.tar.gz rneovim-c42cb49a96beb72b363a2e1e6958b8b2ebd611b1.tar.bz2 rneovim-c42cb49a96beb72b363a2e1e6958b8b2ebd611b1.zip |
Merge pull request #3846 from sethjackson/win-defs
MSVC: Define S_IXUSR.
-rw-r--r-- | src/nvim/os/win_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 6003d46d96..aad9672ba7 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 <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 |