import TyCon
import ForeignCall
import Panic
-import Outputable
+-- import Outputable
import Constants
import Foreign
#ifdef mingw32_HOST_OS
convToABI StdCallConv = fFI_STDCALL
#endif
-convToABI _ = panic "convToABI: convention not supported"
+-- unknown conventions are mapped to the default, (#3336)
+convToABI _ = fFI_DEFAULT_ABI
-- c.f. DsForeign.primTyDescChar
primRepToFFIType :: PrimRep -> Ptr C_ffi_type