diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2014-07-09 17:24:12 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-17 01:07:48 -0400 |
commit | b1e18dc39325ef50121a28750463a068048d63cb (patch) | |
tree | 3d99cabf15fc473ff52d630655ef81476f43fd16 /src | |
parent | ad6b3561196867d7fcf8f8fbb0730c457e7cea45 (diff) | |
download | rneovim-b1e18dc39325ef50121a28750463a068048d63cb.tar.gz rneovim-b1e18dc39325ef50121a28750463a068048d63cb.tar.bz2 rneovim-b1e18dc39325ef50121a28750463a068048d63cb.zip |
win_defs.h: define R_OK, W_OK for MSVC.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/win_defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 19d796bd08..a51898c9e7 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -21,4 +21,12 @@ // - SYS_VIMRC_FILE // - SPECIAL_WILDCHAR +// _access(): https://msdn.microsoft.com/en-us/library/1w06ktdy.aspx +#ifndef R_OK +# define R_OK 4 +#endif +#ifndef W_OK +# define W_OK 2 +#endif + #endif // NVIM_OS_WIN_DEFS_H |