diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2016-03-02 07:08:50 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2016-03-02 07:08:50 -0700 |
commit | a5ebf41fd5bcd729b2ec2107ad35bbc7b67da4c0 (patch) | |
tree | f29e00617fc843149319b8106461df8a523d8a8a | |
parent | Merge pull request #525 from MJDSys/appveyor (diff) | |
parent | Add bolt_ppc.go to compile on 32-bit PPC platforms. (diff) | |
download | dedo-a5ebf41fd5bcd729b2ec2107ad35bbc7b67da4c0.tar.gz dedo-a5ebf41fd5bcd729b2ec2107ad35bbc7b67da4c0.tar.xz |
Merge pull request #527 from peteheist/master
Add bolt_ppc.go to compile on 32-bit PPC platforms.
-rw-r--r-- | bolt_ppc.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bolt_ppc.go b/bolt_ppc.go new file mode 100644 index 0000000..645ddc3 --- /dev/null +++ b/bolt_ppc.go @@ -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 |