Merge pull request #978 from mikeperri/fix-clang-c++17-develop

Fix build with Apple clang & C++17 (bessel functions not defined)
This commit is contained in:
JP Cimalando 2021-08-23 00:40:46 +02:00 committed by GitHub
commit fc1f0451ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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