From 6b23fca1ff32c63b716360cf04fbd685ec83d476 Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 30 Oct 2015 18:05:06 +0100 Subject: [PATCH] Speculative build fix for using alloca on PS4 & FreeBSD --- imgui_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index d274b876..5baae311 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -18,7 +18,7 @@ #include // vsnprintf, sscanf, printf #include // new (ptr) -#ifndef alloca +#if !defined(alloca) && !defined(__FreeBSD__) #if _WIN32 #include // alloca #else