mirror of
https://github.com/golang/go
synced 2024-11-24 04:40:24 -07:00
lib9: fix Solaris build
In file included from src/lib9/utf/utfecpy.c:17:0: src/lib9/utf/utfdef.h:28:0: error: "nil" redefined [-Werror] In file included from src/lib9/utf/utfrrune.c:17:0: src/lib9/utf/utfdef.h:28:0: error: "nil" redefined [-Werror] LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/63410043
This commit is contained in:
parent
174b8c95f5
commit
98a76029ea
@ -25,4 +25,3 @@ typedef unsigned int uint;
|
|||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
|
|
||||||
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
|
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
|
||||||
#define nil ((void*)0)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user