diff options
author | David du Colombier <0intro@gmail.com> | 2014-02-13 20:30:42 +0100 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2014-02-13 20:30:42 +0100 |
commit | a83fde147959aeeef211592f1b1ba322ac83d5c3 (patch) | |
tree | 36a6b6078576334603d2326cf0e9e0c22168bb68 /src/lib9 | |
parent | a8db5dfa980737f696743c83759b96a3c7b5eb99 (diff) | |
download | go-a83fde147959aeeef211592f1b1ba322ac83d5c3.tar.gz |
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://codereview.appspot.com/63410043
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/utf/utfdef.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib9/utf/utfdef.h b/src/lib9/utf/utfdef.h index adc6d95fb..4bbdfc643 100644 --- a/src/lib9/utf/utfdef.h +++ b/src/lib9/utf/utfdef.h @@ -25,4 +25,3 @@ typedef unsigned int uint; typedef unsigned long ulong; #define nelem(x) (sizeof(x)/sizeof((x)[0])) -#define nil ((void*)0) |