]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 25 Apr 2005 10:32:55 +0000 (10:32 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 25 Apr 2005 10:32:55 +0000 (10:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
+#if wxUSE_SOCKETS
         CPPUNIT_TEST(SocketStream);
+#endif
     CPPUNIT_TEST_SUITE_END();
 
     void File();
@@ -55,7 +57,9 @@ class FileKindTestCase : public CppUnit::TestCase
     void Socket();
     void Stdin();
     void MemoryStream();
+#if wxUSE_SOCKETS
     void SocketStream();
+#endif
 
     void TestFILE(wxFFile& file, bool expected);
     void TestFd(wxFile& file, bool expected);