summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-01-07 16:55:30 +0000
committerRoland McGrath <roland@redhat.com>1995-01-07 16:55:30 +0000
commitab0fb2fa6fafbd5f6b214bebc9f78da74bfe7ce5 (patch)
tree01b345461e8cc1cb13ed5426168867e8197d5ace
parente1dd3bfa4a9fb789b03c1857786d58c45b0b2901 (diff)
downloadgunmake-ab0fb2fa6fafbd5f6b214bebc9f78da74bfe7ce5.tar.gz
(ar_name_equal) [cray]: Subtract 1 like [__hpux].
-rw-r--r--arscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arscan.c b/arscan.c
index 48fbaa8..a3dce83 100644
--- a/arscan.c
+++ b/arscan.c
@@ -429,11 +429,11 @@ ar_name_equal (name, mem, truncated)
struct ar_hdr hdr;
return !strncmp (name, mem,
sizeof (hdr.ar_name) -
-#ifndef __hpux
+#if !defined (__hpux) && !defined (cray)
1
#else
2
-#endif /* __hpux */
+#endif /* !__hpux && !cray */
);
#endif
}