diff options
author | Jim Meyering <jim@meyering.net> | 1998-03-27 12:40:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-03-27 12:40:03 +0000 |
commit | 5c0ee776d4f3433d6c3ce511a2b54ef51aa34ebd (patch) | |
tree | 6bae7b25a7eb87338934d0773080c2eaabcc2842 /lib | |
parent | 465ebf7c37e01827cf49d7537a9da85baafb177b (diff) | |
download | coreutils-5c0ee776d4f3433d6c3ce511a2b54ef51aa34ebd.tar.xz |
cpp-directive aesthetics
Diffstat (limited to 'lib')
-rw-r--r-- | lib/isdir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/isdir.c b/lib/isdir.c index f653fafc9..e81ea4578 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -22,12 +22,12 @@ #include <sys/types.h> #include <sys/stat.h> -#ifdef STAT_MACROS_BROKEN +#if STAT_MACROS_BROKEN # undef S_ISDIR -#endif /* STAT_MACROS_BROKEN. */ +#endif -#if !defined(S_ISDIR) && defined(S_IFDIR) -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) +#if !defined S_ISDIR && defined S_IFDIR +# define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) #endif /* If PATH is an existing directory or symbolic link to a directory, |