diff options
Diffstat (limited to 'devel/hs-darcs/files/patch-rtc.c')
-rw-r--r-- | devel/hs-darcs/files/patch-rtc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/hs-darcs/files/patch-rtc.c b/devel/hs-darcs/files/patch-rtc.c new file mode 100644 index 000000000000..dfcb2ce88abe --- /dev/null +++ b/devel/hs-darcs/files/patch-rtc.c @@ -0,0 +1,11 @@ +--- rts.c.orig 2007-10-26 09:32:02.000000000 +0200 ++++ rts.c 2007-10-26 09:28:14.000000000 +0200 +@@ -6,7 +6,7 @@ + void defaultsHook (void) { + RtsFlags.GcFlags.maxStkSize = 8*1000002 / sizeof(W_); /* 8M */ + +-#ifdef _SC_PHYS_PAGES ++#if defined(_SC_PHYS_PAGES) && defined(_SC_AVPHYS_PAGES) + /* Try to set reasonable values for when to start compacting the heap to + avoid massive swapping. */ + { |