summaryrefslogtreecommitdiffstats
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)
commit9aad19fbafe90a6b6e2963603d9231dccbc9cba4 (patch)
tree76c0755877d54b6372722eaadc832479d98e8e6e
parentbbd67626d0a899550cee71f79d620a88f07fd5a4 (diff)
downloadtcl-9aad19fbafe90a6b6e2963603d9231dccbc9cba4.zip
tcl-9aad19fbafe90a6b6e2963603d9231dccbc9cba4.tar.gz
tcl-9aad19fbafe90a6b6e2963603d9231dccbc9cba4.tar.bz2
Make compilable in Visual Studio again
-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.