# HG changeset patch # User Jim Meyering # Date 775569932 0 # Node ID 2fb85cf2ec1a47876203c39e52f97bc1d02a85a8 # Parent 63297bb8f1ddb58b1b9d46afa796c4a346ba54aa . diff --git a/lib/backupfile.c b/lib/backupfile.c --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -45,10 +45,10 @@ #include #endif -#if defined(DIRENT) || defined(_POSIX_VERSION) +#ifdef DIRENT #include #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 #endif /* NDIR */ -#endif /* DIRENT or _POSIX_VERSION */ +#endif /* DIRENT */ #ifdef VOID_CLOSEDIR /* Fake a return value. */