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
This commit is contained in:
Akshat Kumar 2013-01-30 07:56:08 -08:00 committed by Russ Cox
parent c74f3c4576
commit 660c4cde9c
1 changed files with 2 additions and 0 deletions

View File

@ -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