diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-10-03 15:23:59 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-10-03 15:23:59 +0000 |
commit | 33a30f4159ba82ec90188be9e9e1431e62780c0f (patch) | |
tree | 3a8d4cae9b39b6786cc0447ce9dd2868effe0c8d /libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp | |
parent | 70107f989c2e62372b5adc310a95be668b7cb33b (diff) | |
download | bcm5719-llvm-33a30f4159ba82ec90188be9e9e1431e62780c0f.tar.gz bcm5719-llvm-33a30f4159ba82ec90188be9e9e1431e62780c0f.zip |
Windows porting work by Ruben Van Boxem
llvm-svn: 141003
Diffstat (limited to 'libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp')
-rw-r--r-- | libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp b/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp index 9f5710d9153..ca4d7e13072 100644 --- a/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp +++ b/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp @@ -14,6 +14,8 @@ #include <iomanip> #include <cassert> +#include "../../../platform_support.h" // locale name macros + template <class CharT> class testbuf : public std::basic_streambuf<CharT> @@ -51,7 +53,7 @@ int main() { testbuf<char> sb; std::ostream os(&sb); - os.imbue(std::locale("en_US.UTF-8")); + os.imbue(std::locale(LOCALE_en_US_UTF_8)); std::tm t = {0}; t.tm_sec = 59; t.tm_min = 55; @@ -66,7 +68,7 @@ int main() { testbuf<wchar_t> sb; std::wostream os(&sb); - os.imbue(std::locale("en_US.UTF-8")); + os.imbue(std::locale(LOCALE_en_US_UTF_8)); std::tm t = {0}; t.tm_sec = 59; t.tm_min = 55; |