summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 22:44:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 22:44:53 (GMT)
commit7ba4645e08b43df72712f9266336efe3d9badfba (patch)
tree774650b5e310dd9af5f943137e0741dba07c06db
parent357171fbeadae1def072390d7d7b7c4e0b921d27 (diff)
downloadtcl-7ba4645e08b43df72712f9266336efe3d9badfba.zip
tcl-7ba4645e08b43df72712f9266336efe3d9badfba.tar.gz
tcl-7ba4645e08b43df72712f9266336efe3d9badfba.tar.bz2
Make it work on mingw as well
-rw-r--r--win/tclWinPort.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 516eb16..c8013e6 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -26,6 +26,9 @@
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0501
#endif
+#ifndef __MSVCRT_VERSION__
+# define __MSVCRT_VERSION__ 0x0601
+#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>