mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-07-13 07:38:42 +00:00
adding seperate files to compile on IBM Power and Z
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
parent
51f99c8624
commit
721cf88e1b
9
bolt_ppc64le.go
Normal file
9
bolt_ppc64le.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build ppc64le
|
||||
|
||||
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
|
9
bolt_s390x.go
Normal file
9
bolt_s390x.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build s390x
|
||||
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user