diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 20:17:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 20:17:52 (GMT) |
commit | cb6044b9fc72e9d050461b42b760f19b44b0680d (patch) | |
tree | 725b2ac6036503f137a6158c49e0b7321dab9f13 /generic/tclStubInit.c | |
parent | 308ff20a3b5a4979f9997480ecd308756b08525a (diff) | |
parent | 35931d9a7cb0477591913a5a95bc958f75fbded8 (diff) | |
download | tcl-cb6044b9fc72e9d050461b42b760f19b44b0680d.zip tcl-cb6044b9fc72e9d050461b42b760f19b44b0680d.tar.gz tcl-cb6044b9fc72e9d050461b42b760f19b44b0680d.tar.bz2 |
some formatting (*.decls)
move up #undef, for macro which is conflicting with later stuff.
remove some unused cygwin-related code
some minor gcc warnings
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r-- | generic/tclStubInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index e6f95b4..65b7db0 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,12 +60,11 @@ Tcl_NotifierProcs tclOriginalNotifier = { #ifdef _WIN64 # define TclSockMinimumBuffersOld 0 #else -#undef TclSockMinimumBuffers int TclSockMinimumBuffersOld(sock, size) int sock; int size; { - return TclSockMinimumBuffers((void *) (size_t) sock, size); + return TclSockMinimumBuffers(INT2PTR(sock), size); } #endif |