summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 09:09:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 09:09:20 (GMT)
commit73dd8c4da919ada224a43fccf582ae5eb5d05d86 (patch)
treea6980327c930c802b56c927e90b7ee4853a1cdf3 /unix/tclUnixPort.h
parent45592a8e8ead694e094089f8174258afb6de280d (diff)
parent0d066cf5f9286f6ecb836a4c131cdd3d70b76734 (diff)
downloadtcl-73dd8c4da919ada224a43fccf582ae5eb5d05d86.zip
tcl-73dd8c4da919ada224a43fccf582ae5eb5d05d86.tar.gz
tcl-73dd8c4da919ada224a43fccf582ae5eb5d05d86.tar.bz2
move some more CYGWIN stuff to unix/tclUnixPort.h
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 22872e4..5bb61a2 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -79,6 +79,12 @@ typedef off_t Tcl_SeekOffset;
#endif
#ifdef __CYGWIN__
+# define WSAEWOULDBLOCK 10035
+# define HINSTANCE void *
+# define HANDLE void *
+# define DWORD unsigned int
+# define SOCKET unsigned int
+# typedef char TCHAR;
# define USE_PUTENV 1
# define USE_PUTENV_FOR_UNSET 1
/* On Cygwin, the environment is imported from the Cygwin DLL. */