Line 0
Link Here
|
|
|
1 |
--- rts.c.orig 2007-10-26 09:32:02.000000000 +0200 |
2 |
+++ rts.c 2007-10-26 09:28:14.000000000 +0200 |
3 |
@@ -6,7 +6,7 @@ |
4 |
void defaultsHook (void) { |
5 |
RtsFlags.GcFlags.maxStkSize = 8*1000002 / sizeof(W_); /* 8M */ |
6 |
|
7 |
-#ifdef _SC_PHYS_PAGES |
8 |
+#if defined(_SC_PHYS_PAGES) && defined(_SC_AVPHYS_PAGES) |
9 |
/* Try to set reasonable values for when to start compacting the heap to |
10 |
avoid massive swapping. */ |
11 |
{ |