Merge pull request #4025 from Pyrohh/nofollow

[RFC] os/win_defs.h: Define O_NOFOLLOW
This commit is contained in:
Michael Reed 2016-01-17 03:05:11 -05:00
commit a3a7afded6

View File

@ -50,6 +50,10 @@ typedef SSIZE_T ssize_t;
# endif
#endif
#ifndef O_NOFOLLOW
# define O_NOFOLLOW 0
#endif
#if !defined(S_ISDIR) && defined(S_IFDIR)
# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif