aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/linaro/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-02-13 11:27:58 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-02-13 11:27:58 +0000
commit01a424b4f906d1ac6a08261a7e9d2007e221a31d (patch)
tree2ea0a75600c59905309cae66f18b6d010781a6a1 /toolchain/gcc/patches/linaro/302-c99-snprintf.patch
parente4589a2e5fdc6c9243e3c5426dca0158fdfc2922 (diff)
downloadupstream-01a424b4f906d1ac6a08261a7e9d2007e221a31d.tar.gz
upstream-01a424b4f906d1ac6a08261a7e9d2007e221a31d.tar.bz2
upstream-01a424b4f906d1ac6a08261a7e9d2007e221a31d.zip
upgrade to 2011.02, rename patchset directory
SVN-Revision: 25515
Diffstat (limited to 'toolchain/gcc/patches/linaro/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/patches/linaro/302-c99-snprintf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/linaro/302-c99-snprintf.patch b/toolchain/gcc/patches/linaro/302-c99-snprintf.patch
new file mode 100644
index 0000000000..ddbe43d810
--- /dev/null
+++ b/toolchain/gcc/patches/linaro/302-c99-snprintf.patch
@@ -0,0 +1,11 @@
+--- a/libstdc++-v3/include/c_global/cstdio
++++ b/libstdc++-v3/include/c_global/cstdio
+@@ -139,7 +139,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
+
+ _GLIBCXX_END_NAMESPACE
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf