From ef1fcaf0f5bf501986c4c3d5c260c020eec57a92 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 23 Feb 2018 04:04:25 +0000 Subject: Do not include float interfaces when using libsa. We don't support float in the boot loaders, so don't include interfaces for float or double in systems headers. In addition, take the unusual step of spiking double and float to prevent any more accidental seepage. --- sys/sparc64/include/_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/sparc64/include/_types.h') diff --git a/sys/sparc64/include/_types.h b/sys/sparc64/include/_types.h index bd956b1ac77f..9d71fefc52eb 100644 --- a/sys/sparc64/include/_types.h +++ b/sys/sparc64/include/_types.h @@ -58,8 +58,10 @@ typedef unsigned long __uint64_t; */ typedef __int32_t __clock_t; /* clock()... */ typedef __int64_t __critical_t; +#ifndef _STANDALONE typedef double __double_t; typedef float __float_t; +#endif typedef __int64_t __intfptr_t; typedef __int64_t __intmax_t; typedef __int64_t __intptr_t; -- cgit v1.2.3