mirror of https://github.com/etcd-io/bbolt.git
bolt_ppc.go: define `var brokenUnaligned`
If this var is missing building on the ppc architecture fails. This PR adds it.pull/73/head
parent
48ea1b39c2
commit
cef3333f2a
|
@ -7,3 +7,6 @@ const maxMapSize = 0x7FFFFFFF // 2GB
|
|||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0xFFFFFFF
|
||||
|
||||
// Are unaligned load/stores broken on this arch?
|
||||
var brokenUnaligned = false
|
||||
|
|
Loading…
Reference in New Issue