mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
21 lines
545 B
Diff
21 lines
545 B
Diff
--- 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>
|