summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-10-15 17:34:53 (GMT)
committerhobbs <hobbs>2001-10-15 17:34:53 (GMT)
commit9ce08ed0d03dd45d4d8fd3968add14909bc7b982 (patch)
treeaa2c5fe10b7ae3389a7ad43dc74cc4941aad43d3 /win/tclWinPort.h
parentcea1e11d92ee9e3efc79d5a9c26d7a516907eddc (diff)
downloadtcl-9ce08ed0d03dd45d4d8fd3968add14909bc7b982.zip
tcl-9ce08ed0d03dd45d4d8fd3968add14909bc7b982.tar.gz
tcl-9ce08ed0d03dd45d4d8fd3968add14909bc7b982.tar.bz2
* win/tclWinChan.c:
* win/tclWinPort.h: * win/tclWinSerial.c: added TIP #35 Windows enhancements for serial configuration. [Patch #438509] (schroedter)
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 7828010..e00709b 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPort.h,v 1.23 2001/10/10 22:36:26 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.24 2001/10/15 17:34:53 hobbs Exp $
*/
#ifndef _TCLWINPORT
@@ -68,7 +68,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
-#define WIN32 /* BUGFIX: winsock2.h seems to need this */
+
#include <winsock2.h>
#ifdef BUILD_tcl
@@ -435,6 +435,9 @@
* Declarations for Windows-only functions.
*/
+EXTERN HANDLE TclWinSerialReopen _ANSI_ARGS_(( HANDLE handle,
+ char *name, DWORD access));
+
EXTERN Tcl_Channel TclWinOpenSerialChannel _ANSI_ARGS_((HANDLE handle,
char *channelName, int permissions));