projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b9094
)
Fix on FreeBSD
83/289483/1
author
mundusnine
<mundusnine@gmail.com>
Thu, 12 May 2022 16:28:21 +0000
(12:28 -0400)
committer
Patryk Kaczmarek
<patryk.k@partner.samsung.com>
Thu, 9 Mar 2023 00:36:33 +0000
(
01:36
+0100)
Fix compile errors on FreeBSD.
- alloca is defined in stdlib.h on [freeBSD](https://www.freebsd.org/cgi/man.cgi?alloca)
Issue in [godot](https://cirrus-ci.com/task/
5485473287110656
?logs=build#L657)
Change-Id: I074c7cfedb798f4d033e562309498f1b701860be
src/loaders/svg/tvgXmlParser.cpp
patch
|
blob
|
history
diff --git
a/src/loaders/svg/tvgXmlParser.cpp
b/src/loaders/svg/tvgXmlParser.cpp
index
cee97af
..
c373da2
100644
(file)
--- a/
src/loaders/svg/tvgXmlParser.cpp
+++ b/
src/loaders/svg/tvgXmlParser.cpp
@@
-26,6
+26,8
@@
#ifdef _WIN32
#include <malloc.h>
+#elif __FreeBSD__
+ #include<stdlib.h>
#else
#include <alloca.h>
#endif