build: Add build consts for MIPS and MIPSLE

master v1.3.1-mips
Marc 2021-04-30 14:57:55 +01:00
parent fd01fc79c5
commit 1bc3b1f90e
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
2 changed files with 12 additions and 0 deletions

6
bolt_mips.go Normal file
View File

@ -0,0 +1,6 @@
// +build mips
package bolt
const maxMapSize = 0x40000000 // 1GB
const maxAllocSize = 0xFFFFFFF
var brokenUnaligned = false

6
bolt_mipsle.go Normal file
View File

@ -0,0 +1,6 @@
// +build mipsle
package bolt
const maxMapSize = 0x40000000 // 1GB
const maxAllocSize = 0xFFFFFFF
var brokenUnaligned = false