aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/include/_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/include/_types.h')
-rw-r--r--sys/riscv/include/_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/riscv/include/_types.h b/sys/riscv/include/_types.h
index 0c4b6c775ab0..50b80af4c636 100644
--- a/sys/riscv/include/_types.h
+++ b/sys/riscv/include/_types.h
@@ -56,8 +56,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;