summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 16:21:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 16:21:20 (GMT)
commitd19c943b1d1b13d3f47eee1528455d2d959f99ae (patch)
tree83b675a3cbdff2d35445a4304bea8537c44e2834 /unix/tclUnixSock.c
parentef3c261b6dcd49b4bae9b133b7d402090863ddc9 (diff)
parenta3a4e02afa38968088c4f32a658ddb26391bc117 (diff)
downloadtcl-tip_456_fork.zip
tcl-tip_456_fork.tar.gz
tcl-tip_456_fork.tar.bz2
merge forktip_456_fork
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r--unix/tclUnixSock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index bb75ed3..187c157 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -1523,10 +1523,11 @@ Tcl_OpenTcpServerEx(
*/
errorMsg = "SO_REUSEPORT isn't supported by this platform";
goto error;
-#endif
+#else
optvalue = 1;
(void) setsockopt(sock, SOL_SOCKET, SO_REUSEPORT,
(char *) &optvalue, sizeof(optvalue));
+#endif
}
/*