diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-14 13:02:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-14 13:02:58 +0200 |
commit | 9f24e57dc225a26583571792caa0a948904ef21c (patch) | |
tree | 73d9603806fbabf485e128fb9b020758c4f3f30c /src/crypto/slow-hash.c | |
parent | Merge pull request #4380 (diff) | |
parent | NetBSD support (diff) | |
download | monero-9f24e57dc225a26583571792caa0a948904ef21c.tar.xz |
Merge pull request #4326
bcda7adc NetBSD support (thomasvaughan)
Diffstat (limited to 'src/crypto/slow-hash.c')
-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 a4d2b58de..914ba6dc0 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -604,7 +604,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 |