Fix build with clang & C++17 (bessel functions not defined)

This commit is contained in:
Mike 2021-08-22 15:25:50 -04:00
parent 15370fa439
commit c3df3d3b65

View file

@ -26,7 +26,7 @@
#include <simde/x86/sse.h>
#endif
#if __cplusplus >= 201703L
#if __cplusplus >= 201703L && defined(__cpp_lib_math_special_functions)
static double i0(double x) { return std::cyl_bessel_i(0.0, x); }
#else
// external Bessel function from cephes