commit | 20cc65788db3dd2d648074622d39004ddee32725 | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Fri Aug 07 21:52:57 2015 -0600 |
committer | ocornut <omarcornut@gmail.com> | Fri Aug 07 21:52:57 2015 -0600 |
tree | 2624d49716aafb9abdd99e7de5e5d2dfbe805a36 | |
parent | 27961401c633aaa37c0f8fce981fa6c954cb30b3 [diff] |
Build fix for Orbis / PS4
diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 374b15c..3549d4b 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp
@@ -18,11 +18,13 @@ #include <stdio.h> // vsnprintf, sscanf, printf #include <new> // new (ptr) +#ifndef alloca #if defined(_MSC_VER) || defined(__MINGW32__) #include <malloc.h> // alloca #else #include <alloca.h> // alloca #endif +#endif #ifdef _MSC_VER #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff)