--- src/SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2024-03-16 14:09:05.000000000 +0800 +++ src/SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2024-04-29 19:07:48.000000000 +0800 @@ -37,6 +37,17 @@ #include #include #include + +#ifdef __APPLE__ +#include +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070 +// Should be defined before math.h +#ifndef __NOEXTENSIONS__ +#define __NOEXTENSIONS__ +#endif +#endif +#endif + #include #include #include