diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-19 12:25:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-19 12:25:31 +0000 |
commit | 8836ff8b3ca95c312d0b8a69333575f246568e9e (patch) | |
tree | 6cb2760e0d1e4c48fdaa4fc47fb88790a0d68dce /lib | |
parent | 0056eb663eeb70e78a93367d1bb3235936e31969 (diff) | |
download | coreutils-8836ff8b3ca95c312d0b8a69333575f246568e9e.tar.xz |
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rmdir.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/rmdir.c b/lib/rmdir.c index 5315711c3..55fee53c0 100644 --- a/lib/rmdir.c +++ b/lib/rmdir.c @@ -1,6 +1,6 @@ /* BSD compatible remove directory function for System V - Copyright (C) 1988, 1990, 1999, 2003 Free Software Foundation, Inc. + Copyright (C) 1988, 1990, 1999, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,13 +28,7 @@ extern int errno; #endif -#if STAT_MACROS_BROKEN -# undef S_ISDIR -#endif - -#if !defined(S_ISDIR) && defined(S_IFDIR) -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -#endif +#include "stat-macros.h" /* rmdir adapted from GNU tar. */ |