Removed raw references to __APPLE__; now just check to see if it is defined.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24413,7 +24413,7 @@ void test12()
|
||||
output_iterator<char*> iter;
|
||||
std::locale lc = std::locale::classic();
|
||||
std::locale lg(lc, new my_numpunct);
|
||||
#if __APPLE__
|
||||
#ifdef __APPLE__
|
||||
// This test is failing on FreeBSD, possibly due to different representations
|
||||
// of the floating point numbers.
|
||||
const my_facet f(1);
|
||||
|
@@ -93,7 +93,7 @@ int main()
|
||||
assert(t.tm_hour == 23);
|
||||
assert(err == std::ios_base::eofbit);
|
||||
}
|
||||
#if __APPLE__
|
||||
#ifdef __APPLE__
|
||||
{
|
||||
const my_facet f("ru_RU", 1);
|
||||
const wchar_t in[] = L"\x441\x443\x431\x431\x43E\x442\x430"
|
||||
@@ -128,7 +128,7 @@ int main()
|
||||
assert(t.tm_hour == 23);
|
||||
assert(err == std::ios_base::eofbit);
|
||||
}
|
||||
#if __APPLE__
|
||||
#ifdef __APPLE__
|
||||
{
|
||||
const my_facet f("zh_CN", 1);
|
||||
const wchar_t in[] = L"\x516D"
|
||||
|
Reference in New Issue
Block a user