summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.3.4/302-c99-snprintf.patch
blob: ba51a0e1d402d4d0185a7b3f17d032cd9711c4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
===================================================================
--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio	(revision 129202)
+++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio	(working copy)
@@ -144,7 +144,7 @@
 
 _GLIBCXX_END_NAMESPACE
 
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
 
 #undef snprintf
 #undef vfscanf