mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 16:36:14 +00:00
Fix for Candian-Cross builds for mingw host to arm target.
This commit is contained in:
parent
a2d49174df
commit
d0cd6b8ece
15
patches/glibc/2.23/910-typedef-caddr.patch
Normal file
15
patches/glibc/2.23/910-typedef-caddr.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h
|
||||||
|
--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500
|
||||||
|
+++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500
|
||||||
|
@@ -113,7 +113,10 @@
|
||||||
|
#ifdef __USE_MISC
|
||||||
|
# ifndef __daddr_t_defined
|
||||||
|
typedef __daddr_t daddr_t;
|
||||||
|
+# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
|
||||||
|
typedef __caddr_t caddr_t;
|
||||||
|
+# define __caddr_t_defined
|
||||||
|
+# endif
|
||||||
|
# define __daddr_t_defined
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user