Skip to content

Commit

Permalink
use malloc.h instead of alloca.h on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed Jun 26, 2024
1 parent ea81d4a commit 74a2db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c4/yml/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <c4/dump.hpp>
#include <c4/yml/export.hpp>

#ifdef C4_MSVC
#if defined(C4_MSVC) || defined(C4_MINGW)
#include <malloc.h>
#else
#include <alloca.h>
Expand Down

0 comments on commit 74a2db4

Please sign in to comment.