diff options
author | jebes <psteidelprogramming@gmail.com> | 2014-09-11 10:20:55 -0400 |
---|---|---|
committer | jebes <psteidelprogramming@gmail.com> | 2014-09-11 10:20:55 -0400 |
commit | dfed3d39b6607508f75bc8d79e64c3e742dee155 (patch) | |
tree | 549a4bfa8b7b902cd5f87db8d90a6b6051aee786 /src/crypto/slow-hash.c | |
parent | HOW DO I GIT? (diff) | |
parent | Merge pull request #128 from fluffypony/master (diff) | |
download | monero-dfed3d39b6607508f75bc8d79e64c3e742dee155.tar.xz |
Merge remote-tracking branch 'upstream/master'
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 4d1594723..3aff7bd5d 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -330,7 +330,7 @@ void slow_hash_allocate_state(void) hp_state = (uint8_t *) VirtualAlloc(hp_state, MEMORY, MEM_LARGE_PAGES | MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); #else -#if defined(__APPLE__) +#if defined(__APPLE__) || defined(__FreeBSD__) hp_state = mmap(0, MEMORY, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, 0, 0); #else |