forked from lthn/blockchain
attempt to fix build for macos
This commit is contained in:
parent
4c70d2aea0
commit
18609e296f
1 changed files with 3 additions and 2 deletions
|
|
@ -8,8 +8,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "hash-ops.h"
|
||||
#include "malloc.h"
|
||||
|
||||
#ifdef _M_ARM64
|
||||
#include "malloc.h"
|
||||
#endif
|
||||
void tree_hash(const char (*hashes)[HASH_SIZE], size_t count, char *root_hash) {
|
||||
assert(count > 0);
|
||||
if (count == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue