changeset 1290:4073a2dda89d

cpp-directive aesthetics
author Jim Meyering <jim@meyering.net>
date Fri, 27 Mar 1998 12:40:03 +0000
parents 8b40e286a0bd
children c4a47de2e7d0
files lib/isdir.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,