Files

21 lines
545 B
Diff
Raw Permalink Normal View History

2024-04-30 07:55:30 +08:00
--- 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 <inttypes.h>
#include <stddef.h>
#include <limits.h>
+
+#ifdef __APPLE__
+#include <AvailabilityMacros.h>
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
+// Should be defined before math.h
+#ifndef __NOEXTENSIONS__
+#define __NOEXTENSIONS__
+#endif
+#endif
+#endif
+
#include <math.h>
#include <stdarg.h>
#include <ctype.h>