summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--win/rules.vc6
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index aa531b4..c326a3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* win/tcl.m4: have to use LoadLibrary to access those functions.
* win/makefile.vc:
* win/configure: (Re-generate with autoconf-2.59)
+ * win/rules.vc Update for VS10
2010-10-09 Miguel Sofer <msofer@users.sf.net>
diff --git a/win/rules.vc b/win/rules.vc
index f35a51f..ec63ba3 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -11,7 +11,7 @@
# Copyright (c) 2003-2007 Patrick Thoyts
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.44 2010/08/31 20:48:17 nijtmans Exp $
+# RCS: @(#) $Id: rules.vc,v 1.45 2010/10/11 21:33:30 nijtmans Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -189,7 +189,9 @@ VCVER=0
!if ![echo VCVERSION=_MSC_VER > vercl.x] \
&& ![cl -nologo -TC -P vercl.x $(ERRNULL)]
!include vercl.i
-!if $(VCVERSION) >= 1500
+!if $(VCVERSION) >= 1600
+VCVER=10
+!elseif $(VCVERSION) >= 1500
VCVER=9
!elseif $(VCVERSION) >= 1400
VCVER=8