X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F4.3.3%2F302-c99-snprintf.patch;fp=toolchain%2Fgcc%2Fpatches%2F4.3.3%2F302-c99-snprintf.patch;h=ba51a0e1d402d4d0185a7b3f17d032cd9711c4eb;hp=0000000000000000000000000000000000000000;hb=6aaf89ffba3130f34cf77447ff78adc7ca3c3b87;hpb=e8cf2bbcc437fc91bf7abc9a0a4ecb9fbce4ee4c diff --git a/toolchain/gcc/patches/4.3.3/302-c99-snprintf.patch b/toolchain/gcc/patches/4.3.3/302-c99-snprintf.patch new file mode 100644 index 0000000000..ba51a0e1d4 --- /dev/null +++ b/toolchain/gcc/patches/4.3.3/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