aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-05-18 22:31:22 -0400
committerRuss Cox <rsc@swtch.com>2020-05-18 22:35:17 -0400
commitdea4dbdba6e8a4652e682627dce50503bca5c4b4 (patch)
tree4dc3528e3188bc1be12206d5b8222b9e99ce7933 /src/cmd
parent079f5e94459fe5afccf749764d81ab88c59f055a (diff)
downloadplan9port-dea4dbdba6e8a4652e682627dce50503bca5c4b4.tar.gz
plan9port-dea4dbdba6e8a4652e682627dce50503bca5c4b4.tar.bz2
plan9port-dea4dbdba6e8a4652e682627dce50503bca5c4b4.zip
acme: avoid global named "class"
For AIX.
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/acme/regx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/acme/regx.c b/src/cmd/acme/regx.c
index 56ea900c..ec574563 100644
--- a/src/cmd/acme/regx.c
+++ b/src/cmd/acme/regx.c
@@ -15,6 +15,9 @@
Rangeset sel;
Rune *lastregexp;
+#undef class
+#define class regxclass /* some systems declare "class" in system headers */
+
/*
* Machine Information
*/