Commits

Bryan O'Sullivan committed 5d1b750 Merge

Merge

  • Participants
  • Parent commits e716f29, f0352a9
  • Tags 0.2.0.3

Comments (0)

Files changed (1)

File 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#)