summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-04-07 22:33:21 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-24 16:49:53 -0400
commitb95b63806b5a9764902d3ae556ba31d17ecd1ec3 (patch)
tree00434c0677600df9d5e35ebcfc9e7466cdc688d5 /libraries/ghc-prim
parent3dbcc3682066450b0fe1e74f9d82472d5c603d3b (diff)
downloadhaskell-b95b63806b5a9764902d3ae556ba31d17ecd1ec3.tar.gz
Make stage 1 GHC target independent
Now that the target macros are not being used, we remove them. This prevents target hardcoding regressions.
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r--libraries/ghc-prim/GHC/Prim/Ext.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghc-prim/GHC/Prim/Ext.hs b/libraries/ghc-prim/GHC/Prim/Ext.hs
index 402d5725c8..b9f644ef1e 100644
--- a/libraries/ghc-prim/GHC/Prim/Ext.hs
+++ b/libraries/ghc-prim/GHC/Prim/Ext.hs
@@ -30,7 +30,7 @@ module GHC.Prim.Ext
INT64
, WORD64
-- * Delay\/wait operations
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_HOST_OS)
, asyncRead#
, asyncWrite#
, asyncDoProc#
@@ -66,7 +66,7 @@ type WORD64 =
-- Delay/wait operations
------------------------------------------------------------------------
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_HOST_OS)
-- | Asynchronously read bytes from specified file descriptor.
foreign import prim "stg_asyncReadzh" asyncRead#