win_defs.h: define R_OK, W_OK for MSVC.

This commit is contained in:
Rui Abreu Ferreira
2014-07-09 17:24:12 +01:00
committed by Justin M. Keyes
parent ad6b356119
commit b1e18dc393

View File

@@ -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