inline-c 0.5.5.6 → 0.5.5.7
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- inline-c.cabal +1/−1
- src/Language/C/Inline/Internal.hs +1/−1
inline-c.cabal view
@@ -1,5 +1,5 @@ name: inline-c-version: 0.5.5.6+version: 0.5.5.7 synopsis: Write Haskell source files including C code inline. No FFI required. description: See <https://github.com/fpco/inline-c/blob/master/README.md>. license: MIT
src/Language/C/Inline/Internal.hs view
@@ -79,7 +79,7 @@ import System.Environment (getProgName) -- We cannot use getQ/putQ before 7.10.3 because of <https://ghc.haskell.org/trac/ghc/ticket/10596>-#define USE_GETQ (__GLASGOW_HASKELL__ >= 710 && defined(__GLASGOW_HASKELL_PATCHLEVEL1__) && __GLASGOW_HASKELL_PATCHLEVEL1__ >= 3)+#define USE_GETQ (__GLASGOW_HASKELL__ > 710 || (__GLASGOW_HASKELL__ >= 710 && __GLASGOW_HASKELL_PATCHLEVEL1__ >= 3)) #if !USE_GETQ import Control.Concurrent.MVar (MVar, newMVar, modifyMVar_, readMVar)