depot/third_party/nixpkgs/pkgs/tools/misc/hdf4/darwin-aarch64.patch
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

11 lines
351 B
Diff

--- a/hdf/src/hdfi.h 2021-06-16 16:31:31.000000000 +1200
+++ b/hdf/src/hdfi.h 2021-06-16 16:42:26.000000000 +1200
@@ -1343,7 +1343,7 @@
#endif /* IA64 */
/* Linux AArch64 */
-#if defined __aarch64__
+#if defined __aarch64__ && !defined __APPLE__
#ifdef GOT_MACHINE
If you get an error on this line more than one machine type has been defined.