OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
testsuite
/
22_locale
/
numpunct_members_char.cc
diff --git
a/libstdc++-v3/testsuite/22_locale/numpunct_members_char.cc
b/libstdc++-v3/testsuite/22_locale/numpunct_members_char.cc
index
862817e
..
04657eb
100644
(file)
--- a/
libstdc++-v3/testsuite/22_locale/numpunct_members_char.cc
+++ b/
libstdc++-v3/testsuite/22_locale/numpunct_members_char.cc
@@
-86,6
+86,7
@@
void test01()
// libstdc++/5280
void test02()
{
+#ifdef _GLIBCPP_HAVE_SETENV
// Set the global locale to non-"C".
std::locale loc_de("de_DE");
std::locale::global(loc_de);
@@
-97,6
+98,7
@@
void test02()
test01();
setenv("LANG", oldLANG, 1);
}
+#endif
}
int main()