From f995e843e2c5a771b1bcd8e9c68078387d7cefce Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sun, 23 Oct 2016 12:55:32 +1100 Subject: [PATCH] Fix CPP usage 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. --- System/Process/Internals.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs index c4d5be3b..af420093 100644 --- a/System/Process/Internals.hs +++ b/System/Process/Internals.hs @@ -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