// Author: Mike Wetherell
// RCS-ID: $Id$
// Copyright: (c) 2005 Mike Wetherell
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#include "testprec.h"
#include "wx/wx.h"
#endif
+#if wxUSE_STREAMS
+
#ifdef __UNIX__
#include <sys/socket.h>
#endif
#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
{
TempFile tmp; // put first
wxFile file;
- tmp.m_name = wxFileName::CreateTempFileName(_T("wxft"), &file);
+ tmp.m_name = wxFileName::CreateTempFileName(wxT("wxft"), &file);
TestFd(file, true);
file.Close();