summaryrefslogtreecommitdiff
path: root/patches/gcc/4.2.0/180-c99-snprintf.patch
blob: d37a6b509a6ed8b468194443ce2b71d481d71090 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-4.2.0.orig/libstdc++-v3/include/c_std/std_cstdio.h	2006-12-07 10:33:51.000000000 +0100
+++ gcc-4.2.0/libstdc++-v3/include/c_std/std_cstdio.h	2007-05-20 01:05:38.000000000 +0200
@@ -144,7 +144,7 @@
 
 _GLIBCXX_END_NAMESPACE
 
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
 
 #undef snprintf
 #undef vfscanf