diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-01-25 19:37:45 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-01-25 19:37:45 +0200 |
commit | d7b4e77aa3c49cafc34c4f26ec36e9aa553673c1 (patch) | |
tree | df81081e4902d84a5faeb5956b0f7a8be3731de4 /src/crypto/slow-hash.c | |
parent | Merge pull request #616 (diff) | |
parent | My markdown-fu sucks :P (diff) | |
download | monero-d7b4e77aa3c49cafc34c4f26ec36e9aa553673c1.tar.xz |
Merge pull request #618
64f4cd9 My markdown-fu sucks :P (me0wmix)
a6794e2 Instructions updated to include g++ package and omit optional packages (me0wmix)
34ebfe3 Last fixups in the Cmake stuff and better default build instruction (me0wmix)
82ecb3f More formatting fixes to instructions (me0wmix)
efc771d Corrected formatting on OpenBSD instructions (me0wmix)
c965bf4 Added/corrected OpenBSD build instructions. (me0wmix)
28f95eb OpenBSD support for Monero. (me0wmix)
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 544083fb0..903a3792f 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -421,7 +421,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__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) hp_state = mmap(0, MEMORY, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, 0, 0); #else |