diff options
Diffstat (limited to 'lang/mono/files/patch-libgc_os_dep.c')
-rw-r--r-- | lang/mono/files/patch-libgc_os_dep.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/mono/files/patch-libgc_os_dep.c b/lang/mono/files/patch-libgc_os_dep.c new file mode 100644 index 00000000000..9a7daef3c9a --- /dev/null +++ b/lang/mono/files/patch-libgc_os_dep.c @@ -0,0 +1,20 @@ +--- libgc/os_dep.c.orig Tue May 3 09:54:00 2005 ++++ libgc/os_dep.c Sat Aug 6 18:23:12 2005 +@@ -80,7 +80,7 @@ + # define NEED_FIND_LIMIT + # endif + +-#if defined(FREEBSD) && defined(I386) ++#if defined(FREEBSD) && (defined(I386) || defined(X86_64)) + # include <machine/trap.h> + # if !defined(PCR) + # define NEED_FIND_LIMIT +@@ -1385,7 +1385,7 @@ + } + # endif + +-# if defined(FREEBSD) && defined(I386) && !defined(PCR) ++# if defined(FREEBSD) && (defined(X86_64) || defined(I386)) && !defined(PCR) + /* Its unclear whether this should be identical to the above, or */ + /* whether it should apply to non-X86 architectures. */ + /* For now we don't assume that there is always an empty page after */ |