--- libs/math/test/test_gamma_hooks.hpp.orig 2016-09-29 02:35:46.626255000 +0200 +++ libs/math/test/test_gamma_hooks.hpp 2016-09-29 02:36:08.602386000 +0200 @@ -77,7 +77,7 @@ #ifdef TEST_NATIVE #include namespace other{ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__BSDSUniX__) // no float version: inline float tgamma(float x) { return ::tgamma(x); } @@ -89,14 +89,14 @@ { return ::tgamma(x); } inline long double tgamma(long double x) { -#if defined(__CYGWIN__) || defined(__FreeBSD__) +#if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__BSDSUniX__) // no long double versions: return ::tgamma(x); #else return ::tgammal(x); #endif } -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__BSDSUniX__) inline float lgamma(float x) { return ::lgamma(x); } #else @@ -107,7 +107,7 @@ { return ::lgamma(x); } inline long double lgamma(long double x) { -#if defined(__CYGWIN__) || defined(__FreeBSD__) +#if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__BSDSUniX__) // no long double versions: return ::lgamma(x); #else