[Gc] NetBSD/Sparc

Juan Jose Garcia Ripoll lisp at arrakis.es
Mon Mar 21 02:06:31 PST 2005


Hi,

some people in the ECL mailing list (http://ecls.sf.net) have 
contributed the following patch that allows the garbage collector (and 
hence our lisp environment) to build on NetBSD/Sparc.

Regards,

Juanjo


Index: src/gc/os_dep.c
===================================================================
RCS file: /cvsroot/ecls/ecls/src/gc/os_dep.c,v
retrieving revision 1.7
diff -u -r1.7 os_dep.c
--- src/gc/os_dep.c	11 Mar 2005 09:38:49 -0000	1.7
+++ src/gc/os_dep.c	19 Mar 2005 06:38:41 -0000
@@ -3950,13 +3950,17 @@
  #      if defined (DRSNX)
  #	 include <sys/sparc/frame.h>
  #      else
-#	 if defined(OPENBSD) || defined(NETBSD)
+#	 if defined(OPENBSD)
  #	   include <frame.h>
  #	 else
  #	   if defined(FREEBSD)
  #	     include <machine/frame.h>
  #	   else
-#	     include <sys/frame.h>
+#	     if defined(NETBSD)
+#	       include <sparc/frame.h>
+#	     else
+#	       include <sys/frame.h>
+#	     endif
  #	   endif
  #	 endif
  #      endif




More information about the Gc mailing list