projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-03-14 15:22:51 by simonmar]
[ghc-base.git]
/
cbits
/
inputReady.c
diff --git
a/cbits/inputReady.c
b/cbits/inputReady.c
index
a86f961
..
2949e94
100644
(file)
--- a/
cbits/inputReady.c
+++ b/
cbits/inputReady.c
@@
-17,7
+17,7
@@
int
inputReady(int fd, int msecs, int isSock)
{
if
inputReady(int fd, int msecs, int isSock)
{
if
-#ifndef mingw32_TARGET_OS
+#ifndef mingw32_HOST_OS
( 1 ) {
#else
( isSock ) {
( 1 ) {
#else
( isSock ) {
@@
-45,7
+45,7
@@
inputReady(int fd, int msecs, int isSock)
/* 1 => Input ready, 0 => not ready, -1 => error */
return (ready);
}
/* 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);
else {
DWORD rc;
HANDLE hFile = (HANDLE)_get_osfhandle(fd);