diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-12-18 04:08:01 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-12-18 04:08:01 +0000 |
commit | 3c4f18635e797c2c88ac9a2448c03cac8d8bca2d (patch) | |
tree | f22e1d2467845bdb4597598236e90df704d20c08 /devel/boehm-gc-threaded/files/patch-include-gc.h | |
parent | 006d834cf51b82687d48e8ded28e85adca64353c (diff) |
Notes
Diffstat (limited to 'devel/boehm-gc-threaded/files/patch-include-gc.h')
-rw-r--r-- | devel/boehm-gc-threaded/files/patch-include-gc.h | 10 |
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 |