================ @@ -24,7 +24,12 @@ #endif #ifdef __cplusplus -# include <ctgmath> +# if _LIBCPP_STD_VER >= 17 ---------------- ldionne wrote: Can't we always include `<cmath>` and `<complex>` instead? https://github.com/llvm/llvm-project/pull/111615