Fix ext/random/hypergeometric_distribution/operators/values.cc on Solaris 9

* testsuite/ext/random/hypergeometric_distribution/operators/values.cc
	(test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1.

From-SVN: r205446
This commit is contained in:
Rainer Orth 2013-11-27 15:15:23 +00:00 committed by Rainer Orth
parent 9fc023b767
commit 3745a526d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/ext/random/hypergeometric_distribution/operators/values.cc
(test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1.
2013-11-22 François Dumont <fdumont@gcc.gnu.org>
* include/debug/safe_local_iterator.h (_Safe_local_iterator<>):

View File

@ -31,6 +31,7 @@
void
test01()
{
#if _GLIBCXX_USE_C99_MATH_TR1
using namespace __gnu_test;
std::mt19937 eng;
@ -49,6 +50,7 @@ test01()
auto bhd3 = std::bind(hd3, eng);
testDiscreteDist(bhd3, [](int k)
{ return hypergeometric_pdf(k, 100, 20, 5); });
#endif
}
int