diff options
author | Michael Reed <Pyrohh@users.noreply.github.com> | 2016-01-17 03:05:11 -0500 |
---|---|---|
committer | Michael Reed <Pyrohh@users.noreply.github.com> | 2016-01-17 03:05:11 -0500 |
commit | a3a7afded6472b87b5f58ac04f3a75f84ffa9bd7 (patch) | |
tree | 78078c2c62a965811d6928d67eef0e3cb0627ca5 | |
parent | a7ade5c832dc5081afbc3f6bd21657491b27863a (diff) | |
parent | 3b4d1ab18002328c00be98a114c40db1b7225570 (diff) | |
download | rneovim-a3a7afded6472b87b5f58ac04f3a75f84ffa9bd7.tar.gz rneovim-a3a7afded6472b87b5f58ac04f3a75f84ffa9bd7.tar.bz2 rneovim-a3a7afded6472b87b5f58ac04f3a75f84ffa9bd7.zip |
Merge pull request #4025 from Pyrohh/nofollow
[RFC] os/win_defs.h: Define O_NOFOLLOW
-rw-r--r-- | src/nvim/os/win_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 2ce74c9818..642b038b6b 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -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 |