]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filekind/filekind.cpp
typo fix (strangely VC9 doesn't consider it an error)
[wxWidgets.git] / tests / filekind / filekind.cpp
index 7cb6aa38ca4ef9538af03ab8675a8fed50b5ce34..d55c02e9deeda59779d41afe333d9b86b79a64b5 100644 (file)
@@ -47,7 +47,9 @@ class FileKindTestCase : public CppUnit::TestCase
 #endif
         CPPUNIT_TEST(Stdin);
         CPPUNIT_TEST(MemoryStream);
 #endif
         CPPUNIT_TEST(Stdin);
         CPPUNIT_TEST(MemoryStream);
+#if wxUSE_SOCKETS
         CPPUNIT_TEST(SocketStream);
         CPPUNIT_TEST(SocketStream);
+#endif
     CPPUNIT_TEST_SUITE_END();
 
     void File();
     CPPUNIT_TEST_SUITE_END();
 
     void File();
@@ -55,7 +57,9 @@ class FileKindTestCase : public CppUnit::TestCase
     void Socket();
     void Stdin();
     void MemoryStream();
     void Socket();
     void Stdin();
     void MemoryStream();
+#if wxUSE_SOCKETS
     void SocketStream();
     void SocketStream();
+#endif
 
     void TestFILE(wxFFile& file, bool expected);
     void TestFd(wxFile& file, bool expected);
 
     void TestFILE(wxFFile& file, bool expected);
     void TestFd(wxFile& file, bool expected);