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:
parent
d4b1783215
commit
b4d47ca02c
@ -18,6 +18,8 @@
|
|||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_STREAMS
|
||||||
|
|
||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
@ -30,7 +32,11 @@
|
|||||||
#include "wx/sckstrm.h"
|
#include "wx/sckstrm.h"
|
||||||
#include "wx/mstream.h"
|
#include "wx/mstream.h"
|
||||||
|
|
||||||
#if wxUSE_STREAMS
|
#ifdef __VISUALC__
|
||||||
|
#define isatty _isatty
|
||||||
|
#define fdopen _fdopen
|
||||||
|
#define fileno _fileno
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// The test case
|
// The test case
|
||||||
|
Loading…
Reference in New Issue
Block a user