aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-15 20:46:23 -0400
committerRuss Cox <rsc@swtch.com>2020-08-15 20:46:23 -0400
commit1f098efb7370a0b28306d10681e21883fb1c1507 (patch)
tree0b553181b2802a5e302a7d80fee830931936efad /src/cmd/sam
parentd32deab17bfffa5bffc5fab3e6577558e40888c5 (diff)
downloadplan9port-1f098efb7370a0b28306d10681e21883fb1c1507.tar.gz
plan9port-1f098efb7370a0b28306d10681e21883fb1c1507.tar.bz2
plan9port-1f098efb7370a0b28306d10681e21883fb1c1507.zip
all: a few more #define tricks for AIX
This should make the AIX build finally work. Fixes #400.
Diffstat (limited to 'src/cmd/sam')
-rw-r--r--src/cmd/sam/sam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/sam/sam.h b/src/cmd/sam/sam.h
index c11163ef..aae39b4a 100644
--- a/src/cmd/sam/sam.h
+++ b/src/cmd/sam/sam.h
@@ -9,6 +9,9 @@
#undef warn
#define warn samwarn
+#undef class
+#define class samclass
+
/*
* BLOCKSIZE is relatively small to keep memory consumption down.
*/