summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-13 22:21:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-13 22:21:54 (GMT)
commit004c3152e32651a2491c2adbb107306c6c4c003d (patch)
tree501335136bf14823522b808a48ebae702beff3f5
parentf05db2499a1f26791588140d9c283f7ee8e7c23a (diff)
downloadtcl-004c3152e32651a2491c2adbb107306c6c4c003d.zip
tcl-004c3152e32651a2491c2adbb107306c6c4c003d.tar.gz
tcl-004c3152e32651a2491c2adbb107306c6c4c003d.tar.bz2
sync win/rules.vc with Tk version
-rw-r--r--win/rules.vc11
1 files changed, 7 insertions, 4 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 0cc9ffb..4efbad7 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -422,18 +422,21 @@ OPTDEFINES = $(OPTDEFINES) -DUSE_THREAD_ALLOC=1
OPTDEFINES = $(OPTDEFINES) -DSTATIC_BUILD
!endif
-!if $(DEBUG)
-OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_DEBUG
-!elseif $(OPTIMIZING)
+!if !$(DEBUG)
+OPTDEFINES = $(OPTDEFINES) -DNDEBUG
+!if $(OPTIMIZING)
OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_OPTIMIZED
!endif
+!endif
!if $(PROFILE)
OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_PROFILED
!endif
!if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_DO64BIT
!endif
-
+!if $(VCVERSION) < 1300
+OPTDEFINES = $(OPTDEFINES) -DNO_STRTOI64
+!endif
#----------------------------------------------------------
# Get common info used when building extensions.