add support for GCC 4.7-linaro (based on GCC 4.7.1)
SVN-Revision: 31392
This commit is contained in:
11
toolchain/gcc/patches/4.7-linaro/302-c99-snprintf.patch
Normal file
11
toolchain/gcc/patches/4.7-linaro/302-c99-snprintf.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/libstdc++-v3/include/c_global/cstdio
|
||||
+++ b/libstdc++-v3/include/c_global/cstdio
|
||||
@@ -140,7 +140,7 @@ namespace std
|
||||
using ::vsprintf;
|
||||
} // namespace
|
||||
|
||||
-#if _GLIBCXX_USE_C99
|
||||
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
|
||||
|
||||
#undef snprintf
|
||||
#undef vfscanf
|
||||
Reference in New Issue
Block a user