diff options
Diffstat (limited to 'toolchain/gcc/patches/4.9.3/remove-write-macro.frv')
-rw-r--r-- | toolchain/gcc/patches/4.9.3/remove-write-macro.frv | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.9.3/remove-write-macro.frv b/toolchain/gcc/patches/4.9.3/remove-write-macro.frv new file mode 100644 index 000000000..24832b737 --- /dev/null +++ b/toolchain/gcc/patches/4.9.3/remove-write-macro.frv @@ -0,0 +1,11 @@ +diff -Nur gcc-4.9.3.orig/gcc/config/frv/linux.h gcc-4.9.3/gcc/config/frv/linux.h +--- gcc-4.9.3.orig/gcc/config/frv/linux.h 2014-01-02 23:23:26.000000000 +0100 ++++ gcc-4.9.3/gcc/config/frv/linux.h 2015-11-22 11:36:17.574727932 +0100 +@@ -69,6 +69,6 @@ + #undef INVOKE__main + + #undef Twrite +-#define Twrite __write ++#define Twrite write + + #endif /* __FRV_LINUX_H__ */ |