diff --git a/tests/libtransport/HTTPRequest.cpp b/tests/libtransport/HTTPRequest.cpp index fd29998a8c5cc50751aebcc3d2e97c6bf38e651c..0954d92b2873e84d32a2dae85204c3bfd786582e 100644 --- a/tests/libtransport/HTTPRequest.cpp +++ b/tests/libtransport/HTTPRequest.cpp @@ -20,6 +20,10 @@ using namespace Transport; #define get_value_or(X) substr() #endif +#ifdef _MSC_VER +#define sleep Sleep +#endif + class HTTPRequestTest : public CPPUNIT_NS :: TestFixture, public BasicTest { CPPUNIT_TEST_SUITE(HTTPRequestTest); CPPUNIT_TEST(GETThreadPool);