| 1 | // Package lmdbarch contains some architecture detection constants. The |
| 2 | // primary reason the package exists is because the constant definitions are |
| 3 | // scary and some will not pass linters. |
| 4 | package lmdbarch |
| 5 | |
| 6 | // Width64 is 1 for 64-bit architectures and 0 otherwise. |
| 7 | const Width64 = 1 << (^uintptr(0) >> 63) / 2 |