X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0912690b65b3c58c0e12870fb971675ca5572ae6..971e47976f53665f5280d5538395cf7ac189a40e:/tests/filekind/filekind.cpp diff --git a/tests/filekind/filekind.cpp b/tests/filekind/filekind.cpp index 7cb6aa38ca..d55c02e9de 100644 --- a/tests/filekind/filekind.cpp +++ b/tests/filekind/filekind.cpp @@ -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);