]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filekind/filekind.cpp
don't define wxHAS_BUTTON_BITMAP for wxUniv (closes #10907)
[wxWidgets.git] / tests / filekind / filekind.cpp
index d55c02e9deeda59779d41afe333d9b86b79a64b5..9cb2abee33a0c58050c73200f6308529d0ed4da3 100644 (file)
@@ -18,6 +18,8 @@
     #include "wx/wx.h"
 #endif
 
     #include "wx/wx.h"
 #endif
 
+#if wxUSE_STREAMS
+
 #ifdef __UNIX__
     #include <sys/socket.h>
 #endif
 #ifdef __UNIX__
     #include <sys/socket.h>
 #endif
 #include "wx/sckstrm.h"
 #include "wx/mstream.h"
 
 #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
 
 ///////////////////////////////////////////////////////////////////////////////
 // The test case