From 660c4cde9ce10ff158fc76bf8f75c9d0e880d346 Mon Sep 17 00:00:00 2001 From: Akshat Kumar Date: Wed, 30 Jan 2013 07:56:08 -0800 Subject: [PATCH] include: Plan 9: hide any previous definition of Runemax Runemax is already defined in libc on 64-bit version of Plan 9, but is not defined on other versions. To accommodate, we make sure to rename any previous instance of Runemax and re-define it subsequently. R=rsc, ality, rminnich CC=golang-dev https://golang.org/cl/7232059 --- include/plan9/libc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/plan9/libc.h b/include/plan9/libc.h index 0870a5b4af..e6f9839c8e 100644 --- a/include/plan9/libc.h +++ b/include/plan9/libc.h @@ -2,7 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +#define Runemax Plan9Runemax #include "/sys/include/libc.h" +#undef Runemax #include "/sys/include/ctype.h" enum -- 2.48.1