This repository has been archived by the owner on Mar 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #431 from brahmaroutu/support_power_z
adding seperate files to compile on IBM Power and Z
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// +build ppc64le | ||
|
||
package bolt | ||
|
||
// maxMapSize represents the largest mmap size supported by Bolt. | ||
const maxMapSize = 0xFFFFFFFFFFFF // 256TB | ||
|
||
// maxAllocSize is the size used when creating array pointers. | ||
const maxAllocSize = 0x7FFFFFFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// +build s390x | ||
|
||
package bolt | ||
|
||
// maxMapSize represents the largest mmap size supported by Bolt. | ||
const maxMapSize = 0xFFFFFFFFFFFF // 256TB | ||
|
||
// maxAllocSize is the size used when creating array pointers. | ||
const maxAllocSize = 0x7FFFFFFF |