Skip to content

Commit

Permalink
Fix CPP usage
Browse files Browse the repository at this point in the history
The code `#if WINDOWS` works but is not really correct. GHC HEAD now
has a `-Wcpp-undef` warning that we would like to turn on and hence
need this fixed.
  • Loading branch information
erikd committed Oct 23, 2016
1 parent 18bb13c commit f995e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion System/Process/Internals.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import System.Posix.Internals (FD)

import System.Process.Common

#if WINDOWS
#ifdef WINDOWS
import System.Process.Windows
#else
import System.Process.Posix
Expand Down

0 comments on commit f995e84

Please sign in to comment.