1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 14:20:26 +02:00

Fix NetBSD/alpha support.

This commit is contained in:
Ludovic Courtès 2008-02-16 19:38:25 +00:00
parent 5826bf6572
commit 47c84a292d
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-02-16 Ludovic Courtès <ludo@gnu.org>
* gc_os_dep.c: Add NetBSD/alpha support. Patch by Greg Troxel
<gdt@ir.bbn.com>.
2008-02-12 Ludovic Courtès <ludo@gnu.org>
* guile-snarf.in (tempdir): Honor `$TMPDIR'.

View file

@ -3,7 +3,7 @@
* Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
* Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
* Copyright (c) 1999 by Hewlett-Packard Company. All rights reserved.
* Copyright (c) 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation
* Copyright (c) 2000, 2001, 2002, 2003, 2004, 2006, 2008 Free Software Foundation
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
@ -110,6 +110,11 @@ typedef int GC_bool;
# define OPENBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && defined(__alpha__)
# define ALPHA
# define NETBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && defined(__powerpc__)
# define POWERPC
# define NETBSD
@ -246,7 +251,7 @@ typedef int GC_bool;
# endif
# if defined(__alpha) || defined(__alpha__)
# define ALPHA
# if !defined(LINUX)
# if !defined(LINUX) && !defined (NETBSD)
# define OSF1 /* a.k.a Digital Unix */
# endif
# define mach_type_known