summaryrefslogtreecommitdiff
path: root/lang/gauche/patches/patch-ad
blob: a206b2a43086ba176ed2f79950eeb175362637af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2002/02/01 08:10:40 minoura Exp $
--- gc/include/private/gcconfig.h.orig	Fri Dec 21 18:40:17 2001
+++ gc/include/private/gcconfig.h	Fri Feb  1 16:37:01 2002
@@ -1012,6 +1012,11 @@
 #   endif
 #   ifdef NETBSD
 #	define OS_TYPE "NETBSD"
+#       ifdef __ELF__
+          /* minoura: I'm not sure this is safe; at least it seems to work on
+             NetBSD/i386, ELF, but I haven't confirmed. */
+#         define DYNAMIC_LOADING
+#	endif
 #   endif
 #   ifdef THREE86BSD
 #	define OS_TYPE "THREE86BSD"