summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-21 17:10:05 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-21 17:10:05 +0000
commitf3653f34c5460cc9be38179549982989cd6b6550 (patch)
tree83ae6056f8c9119f60e226006c2df891188e414d /toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
parent713657a82075ce75d6f807343dd3ad4cf34ad3a4 (diff)
Port the locale changes to the other gcc versions as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5608 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch')
-rw-r--r--toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
index ac4cf9720..e28fbd532 100644
--- a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
+++ b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
@@ -3117,13 +3117,13 @@ diff -urN gcc-4.0.0-100/libstdc++-v3/crossconfig.m4 gcc-4.0.0/libstdc++-v3/cross
+ GLIBCXX_CHECK_WCHAR_T_SUPPORT
+
+ # For LFS.
-+ AC_DEFINE(HAVE_INT64_T)
++ GLIBCXX_CHECK_INT64_T
+ case "$target" in
+ *-uclinux*)
+ # Don't enable LFS with uClinux
+ ;;
+ *)
-+ AC_DEFINE(_GLIBCXX_USE_LFS)
++ GLIBCXX_USE_LFS
+ esac
+
+ # For showmanyc_helper().