]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove all S_IS* and S_IF* definitions.
authorJim Meyering <jim@meyering.net>
Sat, 19 Jun 2004 12:25:31 +0000 (12:25 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 19 Jun 2004 12:25:31 +0000 (12:25 +0000)
Instead, just include "stat-macros.h".

lib/rmdir.c

index 5315711c327c8d1c6ccd4197d3f91dd2efef0f9f..55fee53c033b8e97f6271bceebd730bcaddc8e84 100644 (file)
@@ -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
 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.  */