diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2015-12-15 11:17:35 -0500 |
---|---|---|
committer | Seth Jackson <sethjackson@gmail.com> | 2015-12-16 05:46:49 -0500 |
commit | aa36af214af2fee014451467ec185a822124fe67 (patch) | |
tree | ff7ecf03c2cc3d596e40b80dba5c62058c355a9b /src | |
parent | 77c0f9a62b4fd465ac9e37d0839695e100238a1c (diff) | |
download | rneovim-aa36af214af2fee014451467ec185a822124fe67.tar.gz rneovim-aa36af214af2fee014451467ec185a822124fe67.tar.bz2 rneovim-aa36af214af2fee014451467ec185a822124fe67.zip |
MSVC: Define S_IXUSR.
Diffstat (limited to 'src')
-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 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 <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 |