mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +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
|
||||
// - 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
|
||||
|
Reference in New Issue
Block a user