summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
committerJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
commit6684ffa826953b473fe8d7b93770905d081dda74 (patch)
treecdd766842381aab41179bf6b4c9b12295aa40572 /src/ls.c
parentbfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (diff)
downloadcoreutils-6684ffa826953b473fe8d7b93770905d081dda74.tar.xz
Use #if, not #ifdef with HAVE_ macros.
Use #if !, not #ifndef with HAVE_ macros.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 971be77c2..b154e8414 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -47,7 +47,7 @@
# include <inttypes.h>
#endif
-#ifdef HAVE_TERMIOS_H
+#if HAVE_TERMIOS_H
# include <termios.h>
#endif
@@ -2167,7 +2167,7 @@ print_long_format (const struct fileinfo *f)
const char *fmt;
char *user_name;
-#ifdef HAVE_ST_DM_MODE
+#if HAVE_ST_DM_MODE
mode_string (f->stat.st_dm_mode, modebuf);
#else
mode_string (f->stat.st_mode, modebuf);