From c5024bcbe41c5cab6429185fa4d65c67f87b8aa1 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Wed, 3 May 2023 11:32:39 +0000 Subject: Fix compiler warning about importing GHC.Utils.Panic.Plain in CodeGen.Platform.h --- compiler/CodeGen.Platform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/CodeGen.Platform.h b/compiler/CodeGen.Platform.h index b4f087da35..01109128c8 100644 --- a/compiler/CodeGen.Platform.h +++ b/compiler/CodeGen.Platform.h @@ -1,7 +1,8 @@ import GHC.Cmm.Expr #if !(defined(MACHREGS_i386) || defined(MACHREGS_x86_64) \ - || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64)) + || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64) \ + || defined(MACHREGS_riscv64)) import GHC.Utils.Panic.Plain #endif import GHC.Platform.Reg -- cgit v1.2.1