diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-24 16:21:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-24 16:21:20 (GMT) |
commit | d19c943b1d1b13d3f47eee1528455d2d959f99ae (patch) | |
tree | 83b675a3cbdff2d35445a4304bea8537c44e2834 /unix/tclUnixSock.c | |
parent | ef3c261b6dcd49b4bae9b133b7d402090863ddc9 (diff) | |
parent | a3a4e02afa38968088c4f32a658ddb26391bc117 (diff) | |
download | tcl-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.c | 3 |
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 } /* |