mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
drenderer: include alloca.h for Zephyr
Changes the conditional for to also include the alloca.h header in case it is build for the zephyr rtos.
This commit is contained in:
parent
d7ad915647
commit
14ea212535
4 changed files with 4 additions and 3 deletions
1
AUTHORS
1
AUTHORS
|
@ -38,3 +38,4 @@ Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|||
Kelly Loh <kelly@lottiefiles.com>
|
||||
Dragoș Tiselice <dragos@lottiefiles.com>
|
||||
Marcin Baszczewski <marcin@baszczewski.pl>
|
||||
Fabian Blatz <fabianblatz@gmail.com>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||
#include <alloca.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||
#include <alloca.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||
#include <alloca.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue