From: Jim Meyering Date: Fri, 27 Mar 1998 12:40:03 +0000 (+0000) Subject: cpp-directive aesthetics X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=743c80bfbe2077ef2ff6a9a1c5feb8fef551a3d4;p=pspp cpp-directive aesthetics --- 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,