summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/isdir.c8
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,