freebsd-ports/lang/gauche/files/patch-gc__include__gc.h
Tilman Keskinoz 29aa0ff696 Merge patches from devel/boehm-gc to included boehm-gc to fix build on
amd64

PR:		97021
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
Approved by:	Erik Greenwald <erik@smluc.org>
2006-05-21 19:13:54 +00:00

10 lines
454 B
C

--- ./gc/include/gc.h.orig Sat Mar 4 12:55:44 2006
+++ ./gc/include/gc.h Tue May 9 14:38:56 2006
@@ -504,6 +504,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