openwrtv3/toolchain/gcc/patches/4.6.1/302-c99-snprintf.patch
Imre Kaloz be9a11b014 replace gcc 4.5.2 support with 4.6.1
SVN-Revision: 27333
2011-07-01 11:43:15 +00:00

11 lines
260 B
Diff

--- a/libstdc++-v3/include/c_global/cstdio
+++ b/libstdc++-v3/include/c_global/cstdio
@@ -137,7 +137,7 @@ namespace std
using ::vsprintf;
} // namespace
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
#undef snprintf
#undef vfscanf