diff options
author | lancethepants <lancethepants@gmail.com> | 2021-05-24 16:21:51 (GMT) |
---|---|---|
committer | lancethepants <lancethepants@gmail.com> | 2021-05-24 16:24:56 (GMT) |
commit | e4eb901516626b80197d69f44211dc265cc74d86 (patch) | |
tree | c07b64106018240a33c5e5fb3e74b60879ae883e /packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch | |
parent | 511442be60c3ad7b4197e11cd1c932e03561b8ba (diff) |
Add MinGW version 9.0.0
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Diffstat (limited to 'packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch')
-rw-r--r-- | packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v9.0.0/0000-mingw64-malloc.patch new file mode 100644 index 0000000..835be63 --- /dev/null +++ b/packages/mingw-w64/v9.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> |