aboutsummaryrefslogtreecommitdiff
path: root/devel/boehm-gc-threaded/files/patch-include-gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boehm-gc-threaded/files/patch-include-gc.h')
-rw-r--r--devel/boehm-gc-threaded/files/patch-include-gc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/boehm-gc-threaded/files/patch-include-gc.h b/devel/boehm-gc-threaded/files/patch-include-gc.h
new file mode 100644
index 000000000000..44ee87d92268
--- /dev/null
+++ b/devel/boehm-gc-threaded/files/patch-include-gc.h
@@ -0,0 +1,10 @@
+--- include/gc.h.orig Wed Jun 4 17:07:33 2003
++++ include/gc.h Wed May 12 20:03:22 2004
+@@ -487,6 +487,7 @@
+ /* gcc knows how to retrieve return address, but we don't know */
+ /* how to generate call stacks. */
+ # define GC_RETURN_ADDR (GC_word)__builtin_return_address(0)
++# define GC_RETURN_ADDR_PARENT (GC_word)__builtin_return_address(1)
+ # else
+ /* Just pass 0 for gcc compatibility. */
+ # define GC_RETURN_ADDR 0