summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.9.3/remove-write-macro.frv
blob: 24832b73738ed65aef9a8cea15f64b06adb47e8e (plain)
1
2
3
4
5
6
7
8
9
10
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__ */