1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

(NetBSD): Test __m68k__ and __arm__ as well as m68k and

arm32.  Reported by Greg Troxel.
This commit is contained in:
Kevin Ryde 2004-11-29 21:18:15 +00:00
parent c41a3234a0
commit be21209c1a

View file

@ -3,7 +3,7 @@
* Copyright (c) 1991-1995, 2003 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, 2003 Free Software Foundation
* Copyright (c) 2000, 2001, 2003, 2004 Free Software Foundation
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
@ -112,12 +112,14 @@ typedef int GC_bool;
# define NETBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && defined(m68k)
/* in netbsd 2.0 only __m68k__ is defined, not m68k */
# if defined(__NetBSD__) && (defined(m68k) || defined(__m68k__))
# define M68K
# define NETBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && defined(arm32)
/* in netbsd 2.0 only __arm__ is defined, not arm32 */
# if defined(__NetBSD__) && (defined(arm32) || defined(__arm__))
# define ARM32
# define NETBSD
# define mach_type_known