mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
parent
44a13a7f25
commit
4961b2ea18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user