Port the locale changes to the other gcc versions as well
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.0.2 / 200-uclibc-locale.patch
index c57f17312b26a6318850702f8cb0d66cc8bba0c2..0228568977bb070c4d3bb03903d778efe1eecae8 100644 (file)
@@ -3070,13 +3070,13 @@ diff -urN gcc-4.1.0/libstdc++-v3/crossconfig.m4 gcc-4.1.0-patched/libstdc++-v3/c
 +    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().