]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(SAME_INODE): Define it here instead.
authorJim Meyering <jim@meyering.net>
Sat, 25 Jul 1998 15:31:23 +0000 (15:31 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Jul 1998 15:31:23 +0000 (15:31 +0000)
src/sys2.h

index 70074b45403013e8d92c9820fdcad9bc27faf874..e2795c27f2e10233e7798d5e8c632dbaa05b39be 100644 (file)
@@ -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)