mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-23 04:17:00 +00:00
Include for alloca()
This commit is contained in:
parent
fcec337061
commit
8952b93b2f
@ -471,6 +471,11 @@
|
|||||||
#include <math.h> // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf
|
#include <math.h> // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf
|
||||||
#include <stdio.h> // vsnprintf, sscanf, printf
|
#include <stdio.h> // vsnprintf, sscanf, printf
|
||||||
#include <new> // new (ptr)
|
#include <new> // new (ptr)
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#include <malloc.h> // alloca
|
||||||
|
#else
|
||||||
|
#include <alloca.h> // alloca
|
||||||
|
#endif
|
||||||
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
|
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
|
||||||
#include <stddef.h> // intptr_t
|
#include <stddef.h> // intptr_t
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user