tacme: avoid global named "class" - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit dea4dbdba6e8a4652e682627dce50503bca5c4b4 (DIR) parent 079f5e94459fe5afccf749764d81ab88c59f055a (HTM) Author: Russ Cox <rsc@swtch.com> Date: Mon, 18 May 2020 22:31:22 -0400 acme: avoid global named "class" For AIX. Diffstat: M src/cmd/acme/regx.c | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- (DIR) diff --git a/src/cmd/acme/regx.c b/src/cmd/acme/regx.c t@@ -15,6 +15,9 @@ Rangeset sel; Rune *lastregexp; +#undef class +#define class regxclass /* some systems declare "class" in system headers */ + /* * Machine Information */