summaryrefslogtreecommitdiff
path: root/libraries/base/cbits/inputReady.c
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-01-28 13:36:34 +0000
committersimonmar <unknown>2005-01-28 13:36:34 +0000
commit2940ff3f0ca9aa4a4522ee61fea054052921c397 (patch)
treeee318335bbdc5d44e3dd51918d93c0c6a8de1edf /libraries/base/cbits/inputReady.c
parent3a682aa855ace3304e7ce1c7bd965316053ebb25 (diff)
downloadhaskell-2940ff3f0ca9aa4a4522ee61fea054052921c397.tar.gz
[project @ 2005-01-28 13:36:25 by simonmar]
Catch up with updates to platform #defines. Generally: use _HOST_ rather than _TARGET_ (except in Cabal where we have to retain compatibility with previous GHC versions).
Diffstat (limited to 'libraries/base/cbits/inputReady.c')
-rw-r--r--libraries/base/cbits/inputReady.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/cbits/inputReady.c b/libraries/base/cbits/inputReady.c
index a86f961d5e..2949e9494b 100644
--- a/libraries/base/cbits/inputReady.c
+++ b/libraries/base/cbits/inputReady.c
@@ -17,7 +17,7 @@ int
inputReady(int fd, int msecs, int isSock)
{
if
-#ifndef mingw32_TARGET_OS
+#ifndef mingw32_HOST_OS
( 1 ) {
#else
( isSock ) {
@@ -45,7 +45,7 @@ inputReady(int fd, int msecs, int isSock)
/* 1 => Input ready, 0 => not ready, -1 => error */
return (ready);
}
-#ifdef mingw32_TARGET_OS
+#ifdef mingw32_HOST_OS
else {
DWORD rc;
HANDLE hFile = (HANDLE)_get_osfhandle(fd);