summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-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.