Speculative build fix for using alloca on PS4 & FreeBSD

This commit is contained in:
ocornut 2015-10-30 18:05:06 +01:00
parent 0a23e2c832
commit 6b23fca1ff

View File

@ -18,7 +18,7 @@
#include <stdio.h> // vsnprintf, sscanf, printf #include <stdio.h> // vsnprintf, sscanf, printf
#include <new> // new (ptr) #include <new> // new (ptr)
#ifndef alloca #if !defined(alloca) && !defined(__FreeBSD__)
#if _WIN32 #if _WIN32
#include <malloc.h> // alloca #include <malloc.h> // alloca
#else #else