diff options
author | Matt Little <zone117x@gmail.com> | 2018-01-25 13:00:45 -0700 |
---|---|---|
committer | Matt Little <zone117x@gmail.com> | 2018-01-25 13:00:45 -0700 |
commit | 7c4424531ff0dbe6958d6dd8beaeb978d3a6ebdb (patch) | |
tree | 323e5d60db89952f030749178cc34b143a0b52a4 /src/crypto/tree-hash.c | |
parent | Merge pull request #3115 (diff) | |
download | monero-7c4424531ff0dbe6958d6dd8beaeb978d3a6ebdb.tar.xz |
Support building cncrypto lib with msvc
Diffstat (limited to '')
-rw-r--r-- | src/crypto/tree-hash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/tree-hash.c b/src/crypto/tree-hash.c index eb98c31b7..812f08786 100644 --- a/src/crypto/tree-hash.c +++ b/src/crypto/tree-hash.c @@ -34,7 +34,9 @@ #include "hash-ops.h" -#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) +#ifdef _MSC_VER +#include <malloc.h> +#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #include <alloca.h> #else #include <stdlib.h> |