Fix gcc config_largefile (#926)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 21 Nov 2006 12:12:47 +0000 (12:12 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 21 Nov 2006 12:12:47 +0000 (12:12 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5598 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/gcc/patches/3.4.6/200-uclibc-locale.patch

index 3fc4900..26cf906 100644 (file)
@@ -3125,13 +3125,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().