diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 374b15c5..3549d4b9 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -18,11 +18,13 @@ #include // vsnprintf, sscanf, printf #include // new (ptr) +#ifndef alloca #if defined(_MSC_VER) || defined(__MINGW32__) #include // alloca #else #include // alloca #endif +#endif #ifdef _MSC_VER #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff)