mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00:00
win_defs.h: define R_OK, W_OK for MSVC.
This commit is contained in:

committed by
Justin M. Keyes

parent
ad6b356119
commit
b1e18dc393
@@ -21,4 +21,12 @@
|
|||||||
// - SYS_VIMRC_FILE
|
// - SYS_VIMRC_FILE
|
||||||
// - SPECIAL_WILDCHAR
|
// - 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
|
#endif // NVIM_OS_WIN_DEFS_H
|
||||||
|
Reference in New Issue
Block a user