mirror of https://github.com/etcd-io/bbolt.git
Merge pull request #527 from peteheist/master
Add bolt_ppc.go to compile on 32-bit PPC platforms.pull/24/head
commit
a5ebf41fd5
|
@ -0,0 +1,9 @@
|
|||
// +build ppc
|
||||
|
||||
package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0x7FFFFFFF // 2GB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0xFFFFFFF
|
Loading…
Reference in New Issue