Port the locale changes to the other gcc versions as well
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.1.1 / 200-uclibc-locale.patch
index 6cfbc625097935422314dabaf2a1e9db0bf5a80c..681e81e27c76280394d85f0909d56a4d252eb062 100644 (file)
 +    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().