summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.3.2/generic/uclibc/302-c99-snprintf.patch
blob: 4ead1844c942608266edd6bc3923d7530e9c27d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 libstdc++-v3/include/c_global/cstdio |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gcc-4.3.1/libstdc++-v3/include/c_global/cstdio
===================================================================
--- gcc-4.3.1.orig/libstdc++-v3/include/c_global/cstdio
+++ gcc-4.3.1/libstdc++-v3/include/c_global/cstdio
@@ -144,7 +144,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
 
 _GLIBCXX_END_NAMESPACE
 
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
 
 #undef snprintf
 #undef vfscanf