mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 04:45:11 -04:00
Support building cncrypto lib with msvc
This commit is contained in:
parent
5f09d6c833
commit
7c4424531f
4 changed files with 24 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue