summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 09:09:20 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-03 09:09:20 (GMT)
commit9946f5d4008c64cec02810650afa3f031831aa00 (patch)
treea6980327c930c802b56c927e90b7ee4853a1cdf3 /unix/tclUnixPort.h
parent0a452cc8cc191da3d9c7660f2c67a659ac3c3acf (diff)
parentd0da70e413195ed6e2c110ba82a91bf1cf2ea8b3 (diff)
downloadtcl-9946f5d4008c64cec02810650afa3f031831aa00.zip
tcl-9946f5d4008c64cec02810650afa3f031831aa00.tar.gz
tcl-9946f5d4008c64cec02810650afa3f031831aa00.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. */