mirror of
https://github.com/biojppm/rapidyaml.git
synced 2026-01-18 21:41:18 +01:00
allow building for MSVC clang-cl and some BSD systems
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
|
||||
#if defined(C4_MSVC) || defined(C4_MINGW)
|
||||
#include <malloc.h>
|
||||
#elif (defined(__clang__) && defined(_MSC_VER)) || \
|
||||
defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user