[project @ 2001-09-06 10:03:32 by sewardj]
[ghc-hetmet.git] / ghc / compiler / typecheck / TcForeign.lhs
index 3236ec0..ab0961e 100644 (file)
@@ -161,7 +161,8 @@ checkFEDArgs arg_tys
   where
     words_of_args = sum (map (getPrimRepSize . typePrimRep) arg_tys)
     err = ptext SLIT("On SPARC, I can only handle 4 words of arguments to foreign export dynamic")
-#elsif alpha_TARGET_ARCH
+#else
+#if alpha_TARGET_ARCH
 checkFEDArgs arg_tys
   = check (integral_args <= 4) err
   where
@@ -171,6 +172,7 @@ checkFEDArgs arg_tys
 #else
 checkFEDArgs arg_tys = returnNF_Tc ()
 #endif
+#endif
 \end{code}