summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 09:05:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 09:05:53 (GMT)
commit0d066cf5f9286f6ecb836a4c131cdd3d70b76734 (patch)
tree5f079d16acc82b0f630c2f39bbbad15dda1516b2 /unix
parent67e7ec069710c2b524e0466502b0e9f14769b439 (diff)
parent712d308e92f67f88efc00a5e35e270f8821490a4 (diff)
downloadtcl-0d066cf5f9286f6ecb836a4c131cdd3d70b76734.zip
tcl-0d066cf5f9286f6ecb836a4c131cdd3d70b76734.tar.gz
tcl-0d066cf5f9286f6ecb836a4c131cdd3d70b76734.tar.bz2
move some more CYGWIN stuff to unix/tclUnixPort.h
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 70ea2d4..33348e2 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -74,6 +74,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. */