summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-08-27 19:41:49 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-08-27 19:41:49 (GMT)
commit190d069be2b78f5b9c38d1f8c76604a55da593bd (patch)
tree008b5e4fc55abb35579e86024912c0dceb95bd36 /win
parentcdc75d317656f6dce43f87a8b05d87302a80b3cc (diff)
downloadtcl-190d069be2b78f5b9c38d1f8c76604a55da593bd.zip
tcl-190d069be2b78f5b9c38d1f8c76604a55da593bd.tar.gz
tcl-190d069be2b78f5b9c38d1f8c76604a55da593bd.tar.bz2
Added a block for OpenWatcom adjustments that fixes the same issue Mo
did for MinGW lack of missing LPFN_* typedefs in their WINE derived winsock2.h
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPort.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index c553ea6..59f58d4 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.36 2002/11/27 18:13:38 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.37 2003/08/27 19:41:49 davygrvy Exp $
*/
#ifndef _TCLWINPORT
@@ -391,6 +391,15 @@
# define timezone _timezone
#endif /* __CYGWIN__ */
+
+#ifdef __WATCOMC__
+ /*
+ * OpenWatcom uses a wine derived winsock2.h that is missing the
+ * LPFN_* typedefs.
+ */
+# define HAVE_NO_LPFN_DECLS
+#endif
+
/*
* There is no platform-specific panic routine for Windows in the Tcl internals.
*/