aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/diff
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-05-18 19:55:01 -0400
committerRuss Cox <rsc@swtch.com>2020-05-18 21:41:35 -0400
commitd4a4b66a401d8988441dd663bf1664e11c045797 (patch)
tree986409cd29fed0dc0eefd2bb91add17138c8121d /src/cmd/diff
parent84167be4ad170c879db48493438f507c2d40d28d (diff)
downloadplan9port-d4a4b66a401d8988441dd663bf1664e11c045797.tar.gz
plan9port-d4a4b66a401d8988441dd663bf1664e11c045797.tar.bz2
plan9port-d4a4b66a401d8988441dd663bf1664e11c045797.zip
diff: rename class to fix AIX
math.h defines a function named class on AIX.
Diffstat (limited to 'src/cmd/diff')
-rw-r--r--src/cmd/diff/diffreg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/diff/diffreg.c b/src/cmd/diff/diffreg.c
index ed4d17b8..478c1b1b 100644
--- a/src/cmd/diff/diffreg.c
+++ b/src/cmd/diff/diffreg.c
@@ -66,6 +66,9 @@
* 3*(number of k-candidates installed), typically about
* 6n words for files of length n.
*/
+
+#define class diffclass
+
/* TIDY THIS UP */
struct cand {
int x;