diff options
Diffstat (limited to 'libstdc++-v3/config/locale/gnu/codecvt_members.cc')
-rw-r--r-- | libstdc++-v3/config/locale/gnu/codecvt_members.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/config/locale/gnu/codecvt_members.cc b/libstdc++-v3/config/locale/gnu/codecvt_members.cc index aa855a6a1f2..c3d3e34935c 100644 --- a/libstdc++-v3/config/locale/gnu/codecvt_members.cc +++ b/libstdc++-v3/config/locale/gnu/codecvt_members.cc @@ -1,6 +1,6 @@ // std::codecvt implementation details, GNU version -*- C++ -*- -// Copyright (C) 2002 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,7 +34,7 @@ // Written by Benjamin Kosnik <bkoz@redhat.com> #include <locale> -#include "c++locale_internal.h" +#include <bits/c++locale_internal.h> namespace std { @@ -50,7 +50,7 @@ namespace std result __ret = error; size_t __len = min(__from_end - __from, __to_end - __to); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) - __c_locale __old = __uselocale(_M_c_locale_codecvt); + __c_locale __old = __uselocale(_S_c_locale); #endif size_t __conv = wcsrtombs(__to, &__from, __len, &__state); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) @@ -85,7 +85,7 @@ namespace std result __ret = error; size_t __len = min(__from_end - __from, __to_end - __to); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) - __c_locale __old = __uselocale(_M_c_locale_codecvt); + __c_locale __old = __uselocale(_S_c_locale); #endif size_t __conv = mbsrtowcs(__to, &__from, __len, &__state); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) |