use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-06-06 23:20:12 +00:00
parent d4b1783215
commit b4d47ca02c

View File

@ -18,6 +18,8 @@
#include "wx/wx.h"
#endif
#if wxUSE_STREAMS
#ifdef __UNIX__
#include <sys/socket.h>
#endif
@ -30,7 +32,11 @@
#include "wx/sckstrm.h"
#include "wx/mstream.h"
#if wxUSE_STREAMS
#ifdef __VISUALC__
#define isatty _isatty
#define fdopen _fdopen
#define fileno _fileno
#endif
///////////////////////////////////////////////////////////////////////////////
// The test case