[toolchain] add preliminary support for gcc-4.4.0, need to forward port the fhonour...
[10.03/openwrt.git] / toolchain / gcc / patches / 4.4.0 / 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