From 3b4d1ab18002328c00be98a114c40db1b7225570 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sat, 16 Jan 2016 18:58:28 -0500 Subject: os/win_defs.h: Define O_NOFOLLOW It's not present on Windows; see the discussion in #4024. --- src/nvim/os/win_defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit