patches/gcc/4.2.0/180-c99-snprintf.patch
changeset 747 d3e603e7c17c
parent 111 2e16b9fc302d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.2.0/180-c99-snprintf.patch	Mon Jul 28 21:32:33 2008 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- gcc-4.2.0.orig/libstdc++-v3/include/c_std/std_cstdio.h	2006-12-07 10:33:51.000000000 +0100
     1.5 ++++ gcc-4.2.0/libstdc++-v3/include/c_std/std_cstdio.h	2007-05-20 01:05:38.000000000 +0200
     1.6 +@@ -144,7 +144,7 @@
     1.7 + 
     1.8 + _GLIBCXX_END_NAMESPACE
     1.9 + 
    1.10 +-#if _GLIBCXX_USE_C99
    1.11 ++#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
    1.12 + 
    1.13 + #undef snprintf
    1.14 + #undef vfscanf