mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-28 03:24:43 -04:00
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
This commit is contained in:
+1
-10
@@ -76,18 +76,9 @@ extern int errno;
|
||||
# endif
|
||||
|
||||
# include "pathmax.h"
|
||||
# include "stat-macros.h"
|
||||
# include "xreadlink.h"
|
||||
|
||||
# ifdef STAT_MACROS_BROKEN
|
||||
# undef S_ISLNK
|
||||
# endif
|
||||
|
||||
# ifndef S_ISLNK
|
||||
# ifdef S_IFLNK
|
||||
# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif /* !HAVE_RESOLVEPATH */
|
||||
|
||||
/* Return the canonical absolute name of file NAME. A canonical name
|
||||
|
||||
Reference in New Issue
Block a user