summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 18:52:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 18:52:18 (GMT)
commit35931d9a7cb0477591913a5a95bc958f75fbded8 (patch)
treebb292f6696c91a2f35fa4e7da3bf863c26870aa5 /generic/tclStubInit.c
parenta3bd4adcec5224b9df954476297c4e3e1867440f (diff)
downloadtcl-35931d9a7cb0477591913a5a95bc958f75fbded8.zip
tcl-35931d9a7cb0477591913a5a95bc958f75fbded8.tar.gz
tcl-35931d9a7cb0477591913a5a95bc958f75fbded8.tar.bz2
tclStubInit.c: move up #undef, so it is clear that this
macro is conflicting with another definition in this file. Fix some other gcc warnings
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index be50792..a5408f4 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -31,6 +31,7 @@
#undef Tcl_ValidateAllMemory
#undef Tcl_FindHashEntry
#undef Tcl_CreateHashEntry
+#undef TclSockMinimumBuffers
/*
* Keep a record of the original Notifier procedures, created in the
@@ -59,7 +60,6 @@ Tcl_NotifierProcs tclOriginalNotifier = {
#ifdef _WIN64
# define TclSockMinimumBuffersOld 0
#else
-#undef TclSockMinimumBuffers
int TclSockMinimumBuffersOld(sock, size)
int sock;
int size;