bbolt/bolt_ppc64.go
tbe 84658f4d37 [ppc64] added missing variable
The variable `brokenUnaligned` was missing for ppc64.
2016-11-04 12:25:04 +01:00

13 lines
315 B
Go

// +build ppc64
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0x7FFFFFFF
// Are unaligned load/stores broken on this arch?
var brokenUnaligned = false