mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 09:15:12 -04:00
Merge pull request #3180
1dfed567
Fixed #if instead of #ifdef (Matt Little)7c442453
Support building cncrypto lib with msvc (Matt Little)
This commit is contained in:
commit
ba22928d4b
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