From: Akshat Kumar Date: Wed, 30 Jan 2013 15:56:08 +0000 (-0800) Subject: include: Plan 9: hide any previous definition of Runemax X-Git-Tag: go1.1rc2~1252 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=660c4cde9ce10ff158fc76bf8f75c9d0e880d346;p=gostls13.git 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 --- 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