diff options
Diffstat (limited to 'toolchain/gcc/4.8.1/302-c99-snprintf.patch')
-rw-r--r-- | toolchain/gcc/4.8.1/302-c99-snprintf.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/4.8.1/302-c99-snprintf.patch b/toolchain/gcc/4.8.1/302-c99-snprintf.patch new file mode 100644 index 000000000..cd4d2ccfb --- /dev/null +++ b/toolchain/gcc/4.8.1/302-c99-snprintf.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/libstdc++-v3/include/c_global/cstdio +=================================================================== +--- gcc-4.8.0.orig/libstdc++-v3/include/c_global/cstdio 2013-02-03 18:54:05.000000000 +0100 ++++ gcc-4.8.0/libstdc++-v3/include/c_global/cstdio 2013-03-23 17:39:32.000000000 +0100 +@@ -138,7 +138,7 @@ + using ::vsprintf; + } // namespace + +-#if _GLIBCXX_USE_C99 ++#if _GLIBCXX_USE_C99 || defined __UCLIBC__ + + #undef snprintf + #undef vfscanf |