From: Shenghou Ma Date: Sun, 16 Sep 2012 17:08:41 +0000 (+0800) Subject: runtime: fix SI_USER for FreeBSD X-Git-Tag: go1.1rc2~2445 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ecb2a0a9e521a0dd76ca70e00727fce9afbda687;p=gostls13.git runtime: fix SI_USER for FreeBSD Ref: http://svnweb.freebsd.org/base/head/sys/sys/signal.h?revision=HEAD&view=markup R=golang-dev, devon.odell, r CC=golang-dev https://golang.org/cl/6490118 --- diff --git a/src/pkg/runtime/os_freebsd.h b/src/pkg/runtime/os_freebsd.h index 5e8de5434a..b440bfeec6 100644 --- a/src/pkg/runtime/os_freebsd.h +++ b/src/pkg/runtime/os_freebsd.h @@ -15,7 +15,7 @@ int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); void runtime·raisesigpipe(void); #define NSIG 33 -#define SI_USER 0 +#define SI_USER 0x10001 #define RLIMIT_AS 10 typedef struct Rlimit Rlimit;