1
0
mirror of https://github.com/etcd-io/bbolt.git synced 2025-04-28 05:33:17 +00:00

Merge pull request from mvo5/master

bolt_ppc.go: define `var brokenUnaligned`
This commit is contained in:
Xiang Li 2018-01-18 10:15:22 -08:00 committed by GitHub
commit ee30b748bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,3 +7,6 @@ const maxMapSize = 0x7FFFFFFF // 2GB
// maxAllocSize is the size used when creating array pointers. // maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF const maxAllocSize = 0xFFFFFFF
// Are unaligned load/stores broken on this arch?
var brokenUnaligned = false