version 1.2, 2009/03/04 06:51:41 |
version 1.6, 2010/09/01 08:07:40 |
|
|
%% $OpenXM: OpenXM_contrib2/asir2000/gc-7.0-risa.diff,v 1.1 2007/11/11 15:54:02 ohara Exp $ |
%% $OpenXM$ |
%% This patch is based on gc6.5-risa.diff. |
%% This patch is based on gc6.5-risa.diff. |
diff -urN gc-7.0.orig/alloc.c gc-7.0/alloc.c |
diff -urN gc-7.0.orig/alloc.c gc-7.0/alloc.c |
--- gc-7.0.orig/alloc.c 2007-06-22 11:40:30.000000000 +0900 |
--- gc-7.0.orig/alloc.c 2007-06-22 11:40:30.000000000 +0900 |
Line 67 diff -urN gc-7.0.orig/alloc.c gc-7.0/alloc.c |
|
Line 67 diff -urN gc-7.0.orig/alloc.c gc-7.0/alloc.c |
|
if (GC_collect_at_heapsize < GC_heapsize /* wrapped */) |
if (GC_collect_at_heapsize < GC_heapsize /* wrapped */) |
GC_collect_at_heapsize = (word)(-1); |
GC_collect_at_heapsize = (word)(-1); |
# endif |
# endif |
+#if defined(VISUAL_LIB) |
+#if defined(VISUAL) |
+ SendHeapSize(); |
+ SendHeapSize(); |
+#endif |
+#endif |
return(TRUE); |
return(TRUE); |
Line 168 diff -urN gc-7.1.orig/misc.c gc-7.1/misc.c |
|
Line 168 diff -urN gc-7.1.orig/misc.c gc-7.1/misc.c |
|
+ |
+ |
+#elif defined(_PA_RISC1_1) || defined(__svr4__) || defined(__CYGWIN__) |
+#elif defined(_PA_RISC1_1) || defined(__svr4__) || defined(__CYGWIN__) |
+ |
+ |
+#include <sys/time.h> |
+#include <sys/times.h> |
+#include <limits.h> |
+#include <limits.h> |
+ |
+ |
+static double get_clock() |
+static double get_clock() |