summaryrefslogtreecommitdiff
path: root/lang/gauche/patches/patch-ad
blob: 42122aba728a46a2e8ca8d9011133553f7fa5612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.7 2005/12/30 14:18:52 joerg Exp $

--- gc/include/gc.h.orig	2005-12-30 13:35:27.000000000 +0000
+++ gc/include/gc.h
@@ -497,7 +497,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
 /* This may also be desirable if it is possible but expensive to	*/
 /* retrieve the call chain.						*/
 #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
-     || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
+     || defined(__FreeBSD__) || defined(__DragonFly__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
 # define GC_ADD_CALLER
 # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
     /* gcc knows how to retrieve return address, but we don't know */