From 5c0f4317665984746f9c2b2f93dbe6a6090318cf Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Wed, 29 Apr 2009 08:28:13 +0300 Subject: Fixed tst_QTcpSocket RVCT build when TEST_QNETWORK_PROXY is not defined. RVCT compiles also unused inline methods etc, for this reason QNetworkProxy needs to be included even it is not really used for anything. --- tests/auto/qtcpsocket/tst_qtcpsocket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp index 9d75fba..2e039bf 100644 --- a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp +++ b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp @@ -81,7 +81,8 @@ #ifndef TEST_QNETWORK_PROXY //#define TEST_QNETWORK_PROXY #endif -#ifdef TEST_QNETWORK_PROXY +#if defined(TEST_QNETWORK_PROXY) || defined (Q_CC_RVCT) +// RVCT compiles also unused inline methods # include #endif -- cgit v0.12