Files
ports/science/cdf/files/patch-src_include_cdfdist.h
2026-10-04 04:07:15 +00:00

21 lines
579 B
C

--- src/include/cdfdist.h.orig 2024-05-06 16:47:21 UTC
+++ src/include/cdfdist.h
@@ -137,7 +137,7 @@
# define unix
#endif
-#if defined(__arm__) || defined(__arm64__) || \
+#if defined(__arm__) || defined(__arm64__) || defined (__aarch64__) || \
(defined(__ARM_ARCH) && __ARM_ARCH > 0)
/* linux(gcc)-based or clang-based */
# define ARM
@@ -588,7 +588,7 @@ typedef sChar sByte;
# if defined(__DARWIN_64_BIT_INO_T)
# define STAT stat
# else
-# define STAT stat64
+# define STAT stat
# endif
# endif
# endif