fix broken caused by boltdb in mips/mipsle (#1107)

tokarchuk/v1.17
Lunny Xiao 8 years ago committed by GitHub
parent ef13bbaf7d
commit 6bdfadf4a9
  1. 11
      vendor/github.com/boltdb/bolt/bolt_mips.go
  2. 11
      vendor/github.com/boltdb/bolt/bolt_mipsle.go

@ -0,0 +1,11 @@
// +build mips
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false

@ -0,0 +1,11 @@
// +build mipsle
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false
Loading…
Cancel
Save