summaryrefslogtreecommitdiff
path: root/packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-12-17 09:18:22 (GMT)
committerGitHub <noreply@github.com>2020-12-17 09:18:22 (GMT)
commit4ae7ed0113910ff175b0c8e00df0ffb2b4ac8735 (patch)
tree8f96d5d648132073a0ed878f276b6fbf88e7b2ee /packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch
parent5fbcd4b74042bf048551e983314c5e0bd83d2e4d (diff)
parentcacb3109bc91071c78bbb19f6d4cf66c30f30e0a (diff)
Merge pull request #1433 from ivanka2012/add-mingw-8.0.0
Add MinGW version 8.0.0
Diffstat (limited to 'packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch')
-rw-r--r--packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch
new file mode 100644
index 0000000..835be63
--- /dev/null
+++ b/packages/mingw-w64/v8.0.0/0000-mingw64-malloc.patch
@@ -0,0 +1,29 @@
+---
+ mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++
+ mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++
+ 2 files changed, 5 insertions(+), 0 deletions(-)
+
+--- a/mingw-w64-tools/genidl/src/genidl_cfg.h
++++ b/mingw-w64-tools/genidl/src/genidl_cfg.h
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <stdarg.h>
+ #include <stdint.h>
+--- a/mingw-w64-tools/genidl/src/genidl_typinfo.c
++++ b/mingw-w64-tools/genidl/src/genidl_typinfo.c
+@@ -21,7 +21,10 @@
+ #include "genidl_cfg.h"
+ #include "genidl_typeinfo.h"
+ #include "genidl_typinfo.h"
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
++#include <stdlib.h>
+ #include <string.h>
+ #include <memory.h>