Disabled std::log1p on Cygwin.

This commit is contained in:
Hauke Heibel 2013-08-10 19:10:23 +02:00
parent 306ce33e1c
commit 097a105603

View File

@ -338,7 +338,7 @@ struct atanh2_impl
static inline Scalar run(const Scalar& x, const Scalar& r)
{
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)
#if __cplusplus >= 201103L
#if (__cplusplus >= 201103L) && !defined(__CYGWIN__)
using std::log1p;
return log1p(2 * x / (r - x)) / 2;
#else