From cf123811b7ad3b2a361ff0b97465a9bb8d722efc Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 7 Oct 2022 20:49:07 +0000 Subject: [PATCH] riscv64 . Empty, at least for now. The other libcs seem not to have invented types here, so let's see whether there's really a call for them before we do. Test: treehugger Change-Id: Icbace2c02abc011388edc8e3e238bb64c640feb7 --- libc/include/sys/user.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libc/include/sys/user.h b/libc/include/sys/user.h index 2392edd6f..432c7cbb9 100644 --- a/libc/include/sys/user.h +++ b/libc/include/sys/user.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef _SYS_USER_H_ -#define _SYS_USER_H_ +#pragma once #include #include /* For size_t. */ @@ -233,6 +232,11 @@ struct user_fpsimd_struct { uint32_t fpcr; }; +#elif defined(__riscv) + +// This space deliberately left blank for now. +// No other libcs have any riscv64-specific structs. + #else #error "Unsupported architecture." @@ -240,5 +244,3 @@ struct user_fpsimd_struct { #endif __END_DECLS - -#endif /* _SYS_USER_H_ */