From 98a76029ea9e63f278c0173a944b7debc9e49b70 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 13 Feb 2014 20:30:42 +0100 Subject: [PATCH] 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 --- src/lib9/utf/utfdef.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib9/utf/utfdef.h b/src/lib9/utf/utfdef.h index adc6d95fb58..4bbdfc643c8 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)