Commits

Bryan O'Sullivan committed 5d1b750 Merge

Merge

Comments (0)

Files changed (1)

Data/Double/Conversion/FFI.hs

-{-# LANGUAGE ForeignFunctionInterface, MagicHash, UnliftedFFITypes #-}
+{-# LANGUAGE CPP, ForeignFunctionInterface, MagicHash, UnliftedFFITypes #-}
 
 -- |
 -- Module      : Data.Double.Conversion.FFI
     ) where
 
 import Data.Word (Word8)
+#if __GLASGOW_HASKELL__ >= 703
+import Foreign.C.Types (CDouble(CDouble), CInt(CInt))
+#else
 import Foreign.C.Types (CDouble, CInt)
+#endif
 import Foreign.Ptr (Ptr)
 import GHC.Prim (MutableByteArray#)