From 07265d221fbd3b4fd16440caab49c70d14370079 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Thu, 14 Jan 2016 16:05:23 -0500 Subject: Misc. macro cleanup - ROOT_UID's comment is misleading, as it's always defined to 0. - SEEK_{SET,END} & O_NOFOLLOW should already be defined on Unix-like systems in and , respectively. In any case, neither of those #ifdef blocks should be in the middle of source files. - The S_IS{LNK,DIR,...} macros should only be undefined on Windows. --- src/nvim/os_unix.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/nvim/os_unix.c') diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index 6c7cb3bba7..cb9a58cc77 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -175,13 +175,6 @@ void mch_exit(int r) exit(r); } -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif -#ifndef SEEK_END -# define SEEK_END 2 -#endif - #define SHELL_SPECIAL (char_u *)"\t \"&'$;<>()\\|" /// Does wildcard pattern matching using the shell. -- cgit