$NetBSD: patch-boost_math_special__functions_log1p.hpp,v 1.1 2017/05/29 14:39:29 ryoon Exp $ --- boost/math/special_functions/log1p.hpp.orig 2017-04-17 02:22:22.000000000 +0000 +++ boost/math/special_functions/log1p.hpp @@ -348,7 +348,7 @@ inline long double log1p(long double z) # undef log1p #endif -#if defined(BOOST_HAS_LOG1P) && !(defined(__osf__) && defined(__DECCXX_VER)) +#if defined(BOOST_HAS_LOG1P) && !(defined(__osf__) && defined(__DECCXX_VER)) && !defined(__NetBSD__) # ifdef BOOST_MATH_USE_C99 template inline float log1p(float x, const Policy& pol)