diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-25 15:31:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-25 15:31:23 +0000 |
commit | 69835e9fb6aa0a26186fd5f82ea48e6930f3f6ac (patch) | |
tree | ac22c49488069171bde666b262c5d37d6a56294f /src | |
parent | 3ba948db7e775d20364e5e0720322acc016f5965 (diff) | |
download | coreutils-69835e9fb6aa0a26186fd5f82ea48e6930f3f6ac.tar.xz |
(SAME_INODE): Define it here instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 4 |
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) |