Port the locale changes to the other gcc versions as well
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 3.4.5 / 200-uclibc-locale.patch
index a97f22b49adbb5c28a09f7bd7bf45ddead9f082e..ed85bff24374a2191b64c3e83205751befb534d5 100644 (file)
@@ -3134,13 +3134,13 @@ diff -urN gcc-3.4.2-dist/libstdc++-v3/crossconfig.m4 gcc-3.4.2/libstdc++-v3/cros
 +    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().