os: OS-dependent bits to support NetBSD.

R=golang-dev, jsing
CC=golang-dev
https://golang.org/cl/5482068
This commit is contained in:
Christopher Nielsen 2011-12-15 12:19:19 -05:00 committed by Russ Cox
parent 7e6890a670
commit d10126a622
6 changed files with 233 additions and 2 deletions

View file

@ -187,7 +187,7 @@ extern void sysfatal(char*, ...);
#define DMWRITE 0x2 /* mode bit for write permission */
#define DMEXEC 0x1 /* mode bit for execute permission */
#ifdef RFMEM /* FreeBSD, OpenBSD */
#ifdef RFMEM /* FreeBSD, OpenBSD, NetBSD */
#undef RFFDG
#undef RFNOTEG
#undef RFPROC