From: Michael Wetherell Date: Mon, 25 Apr 2005 10:32:55 +0000 (+0000) Subject: Compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f4dd8614fa590dbb71ef00f52ea320a80669ba5c Compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);