diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-10-04 12:21:58 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-10-04 12:21:58 +0000 |
commit | 9edd05b9c0a6eb9433a6279d6860d63925e82541 (patch) | |
tree | 7021a338d46318910cfe0b8fdf0b221e0c2aadf4 /toolchain/gcc/patches/4.4.5/302-c99-snprintf.patch | |
parent | 5f9a6a543173ac8b429c6304fa3c6cf225d5e504 (diff) | |
download | upstream-9edd05b9c0a6eb9433a6279d6860d63925e82541.tar.gz upstream-9edd05b9c0a6eb9433a6279d6860d63925e82541.tar.bz2 upstream-9edd05b9c0a6eb9433a6279d6860d63925e82541.zip |
gcc 4.4.5 support
SVN-Revision: 23220
Diffstat (limited to 'toolchain/gcc/patches/4.4.5/302-c99-snprintf.patch')
-rw-r--r-- | toolchain/gcc/patches/4.4.5/302-c99-snprintf.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.4.5/302-c99-snprintf.patch b/toolchain/gcc/patches/4.4.5/302-c99-snprintf.patch new file mode 100644 index 0000000000..ddbe43d810 --- /dev/null +++ b/toolchain/gcc/patches/4.4.5/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 |