mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-24 15:50:25 +01:00
Fixed alloca include for SunOS (#1319)
This commit is contained in:
parent
3420080a35
commit
65632d2682
@ -21,10 +21,10 @@
|
|||||||
#if !defined(alloca)
|
#if !defined(alloca)
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <malloc.h> // alloca
|
#include <malloc.h> // alloca
|
||||||
#elif !defined(__GLIBC__)
|
#elif defined(__GLIBC__) || defined(__sun)
|
||||||
#include <stdlib.h> // alloca
|
#include <alloca.h> // alloca
|
||||||
#else
|
#else
|
||||||
#include <alloca.h> // alloca. glibc has an alloca specific header
|
#include <stdlib.h> // alloca
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user