diff options
author | Michael Reed <m.reed@mykolab.com> | 2016-01-14 16:05:23 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2016-01-14 23:38:26 -0500 |
commit | 07265d221fbd3b4fd16440caab49c70d14370079 (patch) | |
tree | 07118b6756dfe5c34204112c228bb72b7f83aa11 /src/nvim/misc1.c | |
parent | 24fbb2c866039d61107fa1f6a2efe86bb6951e55 (diff) | |
download | rneovim-07265d221fbd3b4fd16440caab49c70d14370079.tar.gz rneovim-07265d221fbd3b4fd16440caab49c70d14370079.tar.bz2 rneovim-07265d221fbd3b4fd16440caab49c70d14370079.zip |
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 <stdio.h> and <fcntl.h>, 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.
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index b2cec82121..6c969a43fc 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2729,13 +2729,6 @@ void fast_breakcheck(void) } } -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif -#ifndef SEEK_END -# define SEEK_END 2 -#endif - /* * Get the stdout of an external command. * If "ret_len" is NULL replace NUL characters with NL. When "ret_len" is not |