diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-05 15:51:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-05-05 15:53:20 +0200 |
commit | 3c19ca08b1cf7aaaae72393073affaa082928ae4 (patch) | |
tree | 63dae9c5b5e733044137d2b2cebe6092bbd32598 | |
parent | 6cb7786fd85a503bfcbe8f28dd34a92902736825 (diff) | |
download | diffutils-3c19ca08b1cf7aaaae72393073affaa082928ae4.tar.gz |
diff: fix a typo that was always disabling the same_special_file macro
* src/system.h (same_special_file): Correct cpp guard expression:
s/HAVE_ST_RDEV/HAVE_STRUCT_STAT_ST_RDEV/. Reported by Eli Zaretskii.
-rw-r--r-- | src/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index 2767b57..eb9ed53 100644 --- a/src/system.h +++ b/src/system.h @@ -151,7 +151,7 @@ verify (sizeof (lin) <= sizeof (long int)); /* Do struct stat *S, *T describe the same special file? */ #ifndef same_special_file -# if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR +# if HAVE_STRUCT_STAT_ST_RDEV && defined S_ISBLK && defined S_ISCHR # define same_special_file(s, t) \ (((S_ISBLK ((s)->st_mode) && S_ISBLK ((t)->st_mode)) \ || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \ |