ansidecl.h is using _ANSIDECL_H as it's guard #ifdef.  But names that start with
underscore are reserved, and the latest version of Xcode seems to be exercising
its prerogative to define _ANSIDECL_H.
Signed-off-by: Lawrence D'Anna <la...@elder-gods.org>
---
 toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch

diff --git a/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch 
b/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch
new file mode 100644
index 0000000..d7267b3
--- /dev/null
+++ b/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch
@@ -0,0 +1,13 @@
+--- a/include/ansidecl.h
++++ b/include/ansidecl.h
+@@ -112,8 +112,8 @@ Foundation, Inc., 51 Franklin Street - F
+    CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
+    AND, DOTS, NOARGS.  Don't use them.  */
+ 
+-#ifndef       _ANSIDECL_H
+-#define _ANSIDECL_H   1
++#ifndef       ANSIDECL_H
++#define ANSIDECL_H    1
+ 
+ #ifdef __cplusplus
+ extern "C" {
-- 
2.3.8 (Apple Git-58)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to