From bff4c04c64185b0bfc61291c857a18e0790e0de2 Mon Sep 17 00:00:00 2001 From: kleink Date: Tue, 28 Oct 2003 15:55:09 +0000 Subject: [PATCH] Make the extended-precision definitions available for _KERNEL (i.e. the FPU support package), too; reported by Chuck Silvers. --- sys/arch/sparc/include/ieee.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc/include/ieee.h b/sys/arch/sparc/include/ieee.h index 9ab94675e598..d6f251c76a7e 100644 --- a/sys/arch/sparc/include/ieee.h +++ b/sys/arch/sparc/include/ieee.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee.h,v 1.7 2003/10/27 01:11:47 kleink Exp $ */ +/* $NetBSD: ieee.h,v 1.8 2003/10/28 15:55:09 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -54,7 +54,7 @@ * v9 toolchain. */ -#ifdef __arch64__ +#if defined(__arch64__) || defined(_KERNEL) #define EXT_EXPBITS 15 #define EXT_FRACBITS 112 @@ -94,4 +94,4 @@ union ieee_ext_u { long double extu_ld; struct ieee_ext extu_ext; }; -#endif /* __arch64__ */ +#endif /* __arch64__ || _KERNEL */