diff options
author | Jim Meyering <jim@meyering.net> | 1994-07-30 12:05:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-07-30 12:05:32 +0000 |
commit | 88494fb8f3b4d038d9d25b2624bf268837722c09 (patch) | |
tree | 72bbb14acf1d1db920fd13fef14f8c617e8dcaaa | |
parent | 2e3cc9b7b9951b2ddf32e9aac48d1594f7ab4d2a (diff) | |
download | coreutils-88494fb8f3b4d038d9d25b2624bf268837722c09.tar.xz |
.
-rw-r--r-- | lib/backupfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c index e6956ee2a..2ef0f0b48 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -45,10 +45,10 @@ #include <strings.h> #endif -#if defined(DIRENT) || defined(_POSIX_VERSION) +#ifdef DIRENT #include <dirent.h> #define NLENGTH(direct) (strlen((direct)->d_name)) -#else /* not (DIRENT or _POSIX_VERSION) */ +#else /* not DIRENT */ #define dirent direct #define NLENGTH(direct) ((direct)->d_namlen) #ifdef SYSNDIR @@ -60,7 +60,7 @@ #ifdef NDIR #include <ndir.h> #endif /* NDIR */ -#endif /* DIRENT or _POSIX_VERSION */ +#endif /* DIRENT */ #ifdef VOID_CLOSEDIR /* Fake a return value. */ |