Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix build with GHC 7.3+ #12

Merged
merged 1 commit into from Oct 29, 2011

Conversation

Projects
None yet
2 participants
Owner

tibbe commented Oct 29, 2011

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.

@bos bos added a commit that referenced this pull request Oct 29, 2011

@bos bos Merge pull request #12 from tibbe/ffi-fix
Fix build with GHC 7.3+
c02bc86

@bos bos merged commit c02bc86 into haskell:master Oct 29, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment