summaryrefslogtreecommitdiffstats
path: root/src/network/socket
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-17 12:15:29 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-17 13:31:45 +0200
commitbf96c83b1571fde829151832e6b66e70b27a846f (patch)
tree15286ff87020264193646ca04709ca72dd7f7eb1 /src/network/socket
parent19168ca21ffda95de6c1e3ef07b4b57a58559e41 (diff)
Replace Q_WS_WIN by Q_OS_WIN in uic/network.
Change-Id: I592936859f6932fcd1aa47f0617ba9f8efee86dc Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/network/socket')
-rw-r--r--src/network/socket/qnativesocketengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/socket/qnativesocketengine.cpp b/src/network/socket/qnativesocketengine.cpp
index 2dc6a40d99..465d26e382 100644
--- a/src/network/socket/qnativesocketengine.cpp
+++ b/src/network/socket/qnativesocketengine.cpp
@@ -927,7 +927,7 @@ bool QNativeSocketEngine::waitForWrite(int msecs, bool *timedOut)
// On Windows, the socket is in connected state if a call to
// select(writable) is successful. In this case we should not
// issue a second call to WSAConnect()
-#if defined (Q_WS_WIN)
+#if defined (Q_OS_WIN)
if (ret > 0) {
setState(QAbstractSocket::ConnectedState);
d_func()->fetchConnectionParameters();
@@ -980,7 +980,7 @@ bool QNativeSocketEngine::waitForReadOrWrite(bool *readyToRead, bool *readyToWri
// On Windows, the socket is in connected state if a call to
// select(writable) is successful. In this case we should not
// issue a second call to WSAConnect()
-#if defined (Q_WS_WIN)
+#if defined (Q_OS_WIN)
if (checkWrite && ((readyToWrite && *readyToWrite) || !readyToWrite) && ret > 0) {
setState(QAbstractSocket::ConnectedState);
d_func()->fetchConnectionParameters();