mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
This commit is contained in:
1 parent
77e4428e58
commit
90c0e02711
1 file changed
+1
-10
+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