From eca26ae91d509a8d7cd4fe16f8ed6159d54307af Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 17 Jul 2015 13:38:55 -0600 Subject: [PATCH] Build fix for MinGW (#276) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 7e338e4e..62410849 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -468,7 +468,7 @@ #include // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf #include // vsnprintf, sscanf, printf #include // new (ptr) -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__MINGW32__) #include // alloca #else #include // alloca