diff options
author | thomasvaughan <thomas@vaughan.net> | 2018-09-02 14:51:23 +0000 |
---|---|---|
committer | thomasvaughan <thomas@vaughan.net> | 2018-09-11 14:32:33 +0000 |
commit | bcda7adcd444cc72b5c0d02da65be6b5cd843fc2 (patch) | |
tree | 0a02c0b8c9ea34c32ced30e511338db0ca479e52 /src/crypto/slow-hash.c | |
parent | Merge pull request #4223 (diff) | |
download | monero-bcda7adcd444cc72b5c0d02da65be6b5cd843fc2.tar.xz |
NetBSD support
Diffstat (limited to '')
-rw-r--r-- | src/crypto/slow-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index 9d4fc0dfa..e76fb1c0a 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -492,7 +492,7 @@ void slow_hash_allocate_state(void) MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); #else #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ - defined(__DragonFly__) + defined(__DragonFly__) || defined(__NetBSD__) hp_state = mmap(0, MEMORY, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, 0, 0); #else |