Rework build to support more liberal unix variants.

Rather than having the build setup such that it will only work on the
specifically defined operating systems, this commit modifies it to use
more liberal !windows,!plan9 build tag for the unix specific bits.

This means bolt will compile on more Operating Systems such as OpenBSD,
FreeBSD, and NetBSD.

See boltdb/bolt#257 for discussion.
pull/34/head
Dave Collins 2014-09-18 13:22:57 -05:00
parent 3ba61af120
commit 8cdba50ea1
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// +build linux darwin
// +build !windows,!plan9
package bolt

View File

@ -1,3 +1,5 @@
// +build !windows,!plan9,!linux
package bolt
import (