summaryrefslogtreecommitdiff
path: root/patches/gcc/4.1.2/150-c99-snprintf.patch
blob: 775cd18ffce0fb173867e50e571c3eccb3383202 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-4.1.2.orig/libstdc++-v3/include/c_std/std_cstdio.h	2005-10-30 23:21:50.000000000 +0100
+++ gcc-4.1.2/libstdc++-v3/include/c_std/std_cstdio.h	2007-03-04 23:33:27.000000000 +0100
@@ -143,7 +143,7 @@
   using ::vsprintf;
 }
 
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
 
 #undef snprintf
 #undef vfscanf