summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-12 10:08:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-12 10:08:16 (GMT)
commited15644ca944ecc80a17fd622284ceb564443779 (patch)
tree76c0755877d54b6372722eaadc832479d98e8e6e /win/tclWinPort.h
parent7f06c57b4ac6b323f0332998d5143a1a72ca2210 (diff)
downloadtcl-ed15644ca944ecc80a17fd622284ceb564443779.zip
tcl-ed15644ca944ecc80a17fd622284ceb564443779.tar.gz
tcl-ed15644ca944ecc80a17fd622284ceb564443779.tar.bz2
Make compilable in Visual Studio again
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index f61e427..5f9e018 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -117,6 +117,13 @@
};
#endif
+/* Those codes, from Visual Studio 2010, conflict with other values */
+#undef ENODATA
+#undef ENOMSG
+#undef ENOSR
+#undef ENOSTR
+#undef EPROTO
+
/*
* The following defines redefine the Windows Socket errors as
* BSD errors so Tcl_PosixError can do the right thing.