1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-29 19:17:24 +01:00

Speculative build fix for old versions of Visual Studio compiler

This commit is contained in:
ocornut 2015-11-28 20:00:40 +00:00
parent ba77166432
commit f505a372fd

View File

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