mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-07-13 07:38:42 +00:00
Merge pull request #527 from peteheist/master
Add bolt_ppc.go to compile on 32-bit PPC platforms.
This commit is contained in:
commit
a5ebf41fd5
9
bolt_ppc.go
Normal file
9
bolt_ppc.go
Normal file
@ -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…
x
Reference in New Issue
Block a user