aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/slow-hash.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-14 13:02:58 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-14 13:02:58 +0200
commit9f24e57dc225a26583571792caa0a948904ef21c (patch)
tree73d9603806fbabf485e128fb9b020758c4f3f30c /src/crypto/slow-hash.c
parentMerge pull request #4380 (diff)
parentNetBSD support (diff)
downloadmonero-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.c2
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