X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=cbits%2FinputReady.c;h=2949e9494bbef90696f4c1d613018dc5b9f3cf30;hb=0a41af38169035a4359c0c29bc1219af564dce64;hp=a86f961d5e96996a3dcfd3a13294cb13ffea197d;hpb=f69b164b13119bf29e03757b46ab78322ec82b93;p=ghc-base.git diff --git a/cbits/inputReady.c b/cbits/inputReady.c index a86f961..2949e94 100644 --- a/cbits/inputReady.c +++ b/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);