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
e72b4e6a9b
commit
9a8173cc22
4 changed files with 4 additions and 3 deletions
|
@ -38,3 +38,4 @@ Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||||
Kelly Loh <kelly@lottiefiles.com>
|
Kelly Loh <kelly@lottiefiles.com>
|
||||||
Dragoș Tiselice <dragos@lottiefiles.com>
|
Dragoș Tiselice <dragos@lottiefiles.com>
|
||||||
Marcin Baszczewski <marcin@baszczewski.pl>
|
Marcin Baszczewski <marcin@baszczewski.pl>
|
||||||
|
Fabian Blatz <fabianblatz@gmail.com>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#else
|
#else
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#else
|
#else
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__) || defined(__ZEPHYR__)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#else
|
#else
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue