summaryrefslogtreecommitdiff
path: root/compiler/typecheck
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/typecheck')
-rw-r--r--compiler/typecheck/TcForeign.lhs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/typecheck/TcForeign.lhs b/compiler/typecheck/TcForeign.lhs
index 5a4bf776fa..6bc5a4fcf3 100644
--- a/compiler/typecheck/TcForeign.lhs
+++ b/compiler/typecheck/TcForeign.lhs
@@ -453,6 +453,7 @@ Calling conventions
\begin{code}
checkCConv :: CCallConv -> TcM ()
checkCConv CCallConv = return ()
+checkCConv CApiConv = return ()
checkCConv StdCallConv = do dflags <- getDOpts
let platform = targetPlatform dflags
unless (platformArch platform == ArchX86) $