Skip to content

Commit

Permalink
Merge pull request #447 from toge/mingw-use-malloc.h
Browse files Browse the repository at this point in the history
Plase use malloc.h instead of alloca.h on MinGW
  • Loading branch information
biojppm authored Jun 26, 2024
2 parents ea81d4a + 74a2db4 commit e837309
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 e837309

Please sign in to comment.