From 743c80bfbe2077ef2ff6a9a1c5feb8fef551a3d4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Mar 1998 12:40:03 +0000 Subject: [PATCH] cpp-directive aesthetics --- lib/isdir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/isdir.c b/lib/isdir.c index f653fafc93..e81ea4578f 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -22,12 +22,12 @@ #include #include -#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, -- 2.30.2