From 5c96e5ede5dd9adf0c744c9a425ecb0fc2a2729c Mon Sep 17 00:00:00 2001 From: Duncan Sparks Date: Wed, 17 Jun 2020 11:45:19 -0700 Subject: [PATCH] Fix alloca.h error in Defs.h --- include/core/Defs.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/core/Defs.hpp b/include/core/Defs.hpp index 1b4923e6..9981afe5 100644 --- a/include/core/Defs.hpp +++ b/include/core/Defs.hpp @@ -62,8 +62,10 @@ enum class Error { #include // alloca() is non-standard. When using MSVC, it's in malloc.h. -#if defined(__linux__) || defined(__APPLE__) || defined(__MINGW32__) +#if defined(__linux__) || defined(__APPLE__) #include +#else +#include #endif typedef float real_t;