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