aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-23 04:04:25 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-23 04:04:25 +0000
commitef1fcaf0f5bf501986c4c3d5c260c020eec57a92 (patch)
treefa32a7d74d83ec1dfe23d311369d9bfcc774f565 /sys/sparc64/include
parent07c17b2b00d8c1c8a2d58d4d8f99e64ec1182476 (diff)
downloadsrc-ef1fcaf0f5bf501986c4c3d5c260c020eec57a92.tar.gz
src-ef1fcaf0f5bf501986c4c3d5c260c020eec57a92.zip
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.
Notes
Notes: svn path=/head/; revision=329859
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/_types.h2
1 files changed, 2 insertions, 0 deletions
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;