bos/text — pull request #12 by tibbe (2011-10-29 15:28:55+00:00)
Title: Fix build with GHC 7.3+

GHC 7.4 will have stricter rules about what types are allowed in FFI imports, see http://hackage.haskell.org/trac/ghc/ticket/5529

The `#if` is necessary as older GHCs don't export the newtype constructors.