ports/lang/mono/files/patch-mono_sgen_sgen-archdep.h
Mikael Urankar f863e5a659 lang/mono: Fix build on aarch64.
Approved by:	portmgr (build fix blanket)
2021-10-18 13:43:57 +02:00

11 lines
281 B
C

--- mono/sgen/sgen-archdep.h.orig 2018-07-11 23:55:34 UTC
+++ mono/sgen/sgen-archdep.h
@@ -45,7 +45,7 @@
#elif defined(TARGET_ARM64)
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
#define REDZONE_SIZE 0
#elif defined(__APPLE__)
#define REDZONE_SIZE 128