-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to define alloca with MSVC
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Subject: [PATCH] Fix alloca unresolved | ||
--- | ||
Index: src/cairo-colr-glyph-render.c | ||
IDEA additional info: | ||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | ||
<+>UTF-8 | ||
=================================================================== | ||
diff --git a/src/cairo-colr-glyph-render.c b/src/cairo-colr-glyph-render.c | ||
--- a/src/cairo-colr-glyph-render.c (revision 459d19ef1520d39078038ecaa840efca0194e053) | ||
+++ b/src/cairo-colr-glyph-render.c (date 1696094155649) | ||
@@ -43,6 +43,10 @@ | ||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
+#ifdef _MSC_VER | ||
+#include <malloc.h> | ||
+#endif | ||
+ | ||
#if HAVE_FT_COLR_V1 | ||
|
||
#include <ft2build.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters