mirror of https://github.com/hak5/bolt.git
Add bolt_ppc.go to compile on 32-bit PPC platforms.
parent
9af8da5df3
commit
d062b0e33c
|
@ -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