summaryrefslogtreecommitdiffstats
path: root/src/network/socket
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-10-02 09:56:40 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-10-02 10:07:50 (GMT)
commitd119d83503ade36a450c0326d94764dc9da18dab (patch)
treec8ac1050285c01719fa0809addb53e666e0954b5 /src/network/socket
parent7f35df22d4ffab0b62e24064cbd822af62399202 (diff)
downloadQt-d119d83503ade36a450c0326d94764dc9da18dab.zip
Qt-d119d83503ade36a450c0326d94764dc9da18dab.tar.gz
Qt-d119d83503ade36a450c0326d94764dc9da18dab.tar.bz2
Workaround for Open C bug
Workaorund for SO_REUSEPORT / SO_REUSEADDR regression bug.
Diffstat (limited to 'src/network/socket')
-rw-r--r--src/network/socket/qnativesocketengine_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qnativesocketengine_unix.cpp b/src/network/socket/qnativesocketengine_unix.cpp
index 84224ec..2bf9858 100644
--- a/src/network/socket/qnativesocketengine_unix.cpp
+++ b/src/network/socket/qnativesocketengine_unix.cpp
@@ -312,7 +312,7 @@ bool QNativeSocketEnginePrivate::setOption(QNativeSocketEngine::SocketOption opt
return true;
}
case QNativeSocketEngine::AddressReusable:
-#ifdef SO_REUSEPORT
+#if defined(SO_REUSEPORT) && !defined(Q_OS_SYMBIAN)
n = SO_REUSEPORT;
#else
n = SO_REUSEADDR;