summaryrefslogtreecommitdiffstats
path: root/generic/tclIOSock.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r--generic/tclIOSock.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c
index f311912..3ed2122 100644
--- a/generic/tclIOSock.c
+++ b/generic/tclIOSock.c
@@ -83,9 +83,18 @@ TclSockGetPort(interp, string, proto, portPtr)
*----------------------------------------------------------------------
*/
+#ifdef _WIN64
+ /* See bug 510001: TclSockMinimumBuffers needs plat imp */
+# define TclSockMinimumBuffers TclSockMinimumBuffersWin64
+#endif
+
int
TclSockMinimumBuffers(sock, size)
+#ifdef _WIN64
+ SOCKET sock; /* Socket file descriptor */
+#else
int sock; /* Socket file descriptor */
+#endif
int size; /* Minimum buffer size */
{
int current;