X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fmswindows.h;h=fb96317b5fc64f59331d6b2f33304b9c2f52f21c;hb=9c1c7f27cdbccbf838648253144f394f94513655;hp=3c4a76b018c7426f8ff92b17f2c09617d81ccc32;hpb=bb8e5243163a7410c23be0c3e7f6a44bbdcadfbd;p=wget diff --git a/src/mswindows.h b/src/mswindows.h index 3c4a76b0..fb96317b 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -48,6 +48,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ # define stat _stat #endif +#ifdef HAVE_ISATTY +/* Microsoft VC supports _isatty; Borland ? */ +#ifdef _MSC_VER +# define isatty _isatty +#endif +#endif + #define REALCLOSE(x) closesocket (x) /* read & write don't work with sockets on Windows 95. */