gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet...
[openwrt/openwrt.git] / toolchain / gcc / patches / llvm / 302-c99-snprintf.patch
1 --- a/libstdc++-v3/include/c_std/std_cstdio.h
2 +++ b/libstdc++-v3/include/c_std/std_cstdio.h
3 @@ -144,7 +144,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
4
5 _GLIBCXX_END_NAMESPACE
6
7 -#if _GLIBCXX_USE_C99
8 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
9
10 #undef snprintf
11 #undef vfscanf