From 20cc65788db3dd2d648074622d39004ddee32725 Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 7 Aug 2015 21:52:57 -0600 Subject: [PATCH] Build fix for Orbis / PS4 --- imgui_draw.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)