Replace sole use with equivalent `#ifdef S_ISLNK'.
Inconsistency reported by Dmitry V. Levin.
# define INODE_DIGITS 7
#endif
-#ifdef S_ISLNK
-# define HAVE_SYMLINKS 1
-#else
-# define HAVE_SYMLINKS 0
-#endif
-
/* Arrange to make lstat calls go through the wrapper function
on systems with an lstat function that does not dereference symlinks
that are specified with a trailing slash. */
return blocks;
}
-#if HAVE_SYMLINKS
+#ifdef S_ISLNK
/* Put the name of the file that `filename' is a symbolic link to
into the `linkname' field of `f'. */