cpp-directive aesthetics
authorJim Meyering <jim@meyering.net>
Fri, 27 Mar 1998 12:40:03 +0000 (12:40 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 27 Mar 1998 12:40:03 +0000 (12:40 +0000)
lib/isdir.c

index f653faf..e81ea45 100644 (file)
 #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,