X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F4.3.1%2F302-c99-snprintf.patch;fp=toolchain%2Fgcc%2Fpatches%2F4.3.1%2F302-c99-snprintf.patch;h=ba51a0e1d402d4d0185a7b3f17d032cd9711c4eb;hb=fd8969afc418b1ad3758a1a38f5eee3b272ed050;hp=0000000000000000000000000000000000000000;hpb=4f14cc665777120194de73302510657cefc75959;p=openwrt-10.03%2F.git diff --git a/toolchain/gcc/patches/4.3.1/302-c99-snprintf.patch b/toolchain/gcc/patches/4.3.1/302-c99-snprintf.patch new file mode 100644 index 000000000..ba51a0e1d --- /dev/null +++ b/toolchain/gcc/patches/4.3.1/302-c99-snprintf.patch @@ -0,0 +1,13 @@ +Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio +=================================================================== +--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (revision 129202) ++++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (working copy) +@@ -144,7 +144,7 @@ + + _GLIBCXX_END_NAMESPACE + +-#if _GLIBCXX_USE_C99 ++#if _GLIBCXX_USE_C99 || defined __UCLIBC__ + + #undef snprintf + #undef vfscanf