|
|
|
@ -18,9 +18,11 @@
|
|
|
|
|
#include "imgui_internal.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h> // vsnprintf, sscanf, printf
|
|
|
|
|
#if !defined(alloca) && !defined(__FreeBSD__) && !defined(__DragonFly__)
|
|
|
|
|
#if !defined(alloca)
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#include <malloc.h> // alloca
|
|
|
|
|
#elif (defined(__FreeBSD__) || defined(FreeBSD_kernel) || defined(__DragonFly__)) && !defined(__GLIBC__)
|
|
|
|
|
#include <stdlib.h> // alloca. FreeBSD uses stdlib.h unless GLIBC
|
|
|
|
|
#else
|
|
|
|
|
#include <alloca.h> // alloca
|
|
|
|
|
#endif
|
|
|
|
|