Windows porting work by Ruben Van Boxem
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@141003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#include <streambuf>
|
||||
#include <cassert>
|
||||
|
||||
#include "../../../../../platform_support.h" // locale name macros
|
||||
|
||||
template <class CharT>
|
||||
struct test
|
||||
: public std::basic_streambuf<CharT>
|
||||
@@ -75,7 +77,7 @@ int main()
|
||||
test<wchar_t> t2;
|
||||
t2 = t;
|
||||
}
|
||||
std::locale::global(std::locale("en_US.UTF-8"));
|
||||
std::locale::global(std::locale(LOCALE_en_US_UTF_8));
|
||||
{
|
||||
test<char> t;
|
||||
test<char> t2;
|
||||
|
||||
Reference in New Issue
Block a user