Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use less CPP #47

Merged
merged 20 commits into from
Nov 17, 2015
Merged

Use less CPP #47

merged 20 commits into from
Nov 17, 2015

Conversation

snoyberg
Copy link
Collaborator

@snoyberg snoyberg commented Nov 3, 2015

Major changes:

  • Most Windows-specific and POSIX-specific code live in their own modules
  • No more GLASGOW_HASKELL conditionals, since it didn't work anyway

This now compiles without warnings on Linux and Windows, addressing Simon's original concern.

@hvr would you mind reviewing?

@@ -1,12 +1,10 @@
{-# LANGUAGE CPP, ForeignFunctionInterface #-}
#ifdef __GLASGOW_HASKELL__
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this still be here? Unless InterruptibleFFI is a portable extension now? or process only supports GHC?

EDIT: Nvm, I see support for non-GHC compilers is being dropped.

snoyberg added a commit that referenced this pull request Nov 17, 2015
@snoyberg snoyberg merged commit e5a7ee3 into master Nov 17, 2015
@snoyberg snoyberg deleted the less-cpp branch November 13, 2016 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants