summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-25 15:31:23 +0000
committerJim Meyering <jim@meyering.net>1998-07-25 15:31:23 +0000
commit69835e9fb6aa0a26186fd5f82ea48e6930f3f6ac (patch)
treeac22c49488069171bde666b262c5d37d6a56294f /src
parent3ba948db7e775d20364e5e0720322acc016f5965 (diff)
downloadcoreutils-69835e9fb6aa0a26186fd5f82ea48e6930f3f6ac.tar.xz
(SAME_INODE): Define it here instead.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 70074b454..e2795c27f 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -216,3 +216,7 @@ off_t lseek ();
# undef putchar
# define putchar(C) putchar_unlocked (C)
#endif
+
+#define SAME_INODE(Stat_buf_1, Stat_buf_2) \
+ ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
+ && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)