[toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi...
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.3.1 / 302-c99-snprintf.patch
1 Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
2 ===================================================================
3 --- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio      (revision 129202)
4 +++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio      (working copy)
5 @@ -144,7 +144,7 @@
6  
7  _GLIBCXX_END_NAMESPACE
8  
9 -#if _GLIBCXX_USE_C99
10 +#if _GLIBCXX_USE_C99 || defined __UCLIBC__
11  
12  #undef snprintf
13  #undef vfscanf