Merge pull request #531 from michelmno/master

new bolt_ppc64.go similar to bolt_ppc64le.go
pull/24/head
Ben Johnson 2016-03-04 11:33:41 -07:00
commit b514920f8f
1 changed files with 9 additions and 0 deletions

9
bolt_ppc64.go Normal file
View File

@ -0,0 +1,9 @@
// +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