openwrtv3/toolchain/gcc/patches/4.3.5/302-c99-snprintf.patch
Nicolas Thill 32098a5faf toolchain/gcc: add support for gcc-4.3.5
SVN-Revision: 21599
2010-05-28 12:00:22 +00:00

11 lines
265 B
Diff

--- a/libstdc++-v3/include/c_global/cstdio
+++ b/libstdc++-v3/include/c_global/cstdio
@@ -144,7 +144,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
#undef snprintf
#undef vfscanf