summaryrefslogtreecommitdiff
path: root/regress/lib/libm/msun/fenv_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libm/msun/fenv_test.c')
-rw-r--r--regress/lib/libm/msun/fenv_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libm/msun/fenv_test.c b/regress/lib/libm/msun/fenv_test.c
index d63d82e84de..46f7406e84c 100644
--- a/regress/lib/libm/msun/fenv_test.c
+++ b/regress/lib/libm/msun/fenv_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fenv_test.c,v 1.4 2020/10/19 09:35:44 kettenis Exp $ */
+/* $OpenBSD: fenv_test.c,v 1.5 2021/06/17 12:55:38 kettenis Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.org>
* All rights reserved.
@@ -394,7 +394,7 @@ test_fegsetenv(void)
static void
test_masking(void)
{
-#if !defined(__arm__) && !defined(__aarch64__)
+#if !defined(__arm__) && !defined(__aarch64__) && !defined(__riscv)
struct sigaction act;
int except, pass, raise, status;
unsigned i;
@@ -539,7 +539,7 @@ test_feholdupdate(void)
assert(0);
}
}
-#if defined(__arm__) || defined(__aarch64__)
+#if defined(__arm__) || defined(__aarch64__) || defined(__riscv)
break;
#endif
}