From ed15644ca944ecc80a17fd622284ceb564443779 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 12 Sep 2011 10:08:16 +0000 Subject: Make compilable in Visual Studio again --- win/tclWinPort.h | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v0.12