diff options
author | Pete Heist <peteheist@gmail.com> | 2016-02-29 21:33:50 +0100 |
---|---|---|
committer | Pete Heist <peteheist@gmail.com> | 2016-02-29 21:43:51 +0100 |
commit | d062b0e33cdf9c82ccbd73aad63dd4c10685bdef (patch) | |
tree | f29e00617fc843149319b8106461df8a523d8a8a | |
parent | Merge pull request #525 from MJDSys/appveyor (diff) | |
download | dedo-d062b0e33cdf9c82ccbd73aad63dd4c10685bdef.tar.gz dedo-d062b0e33cdf9c82ccbd73aad63dd4c10685bdef.tar.xz |
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 |