summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-04-13 19:34:11 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-04-13 19:34:11 (GMT)
commiteabfa8459120e0f240760b76b4d1ed5a470c38f6 (patch)
tree467ffe3edb3de6314f177481e0c76f04de8fe22c /win
parent6277e860f7524b5c08850590e14e542afa6f6490 (diff)
downloadtk-eabfa8459120e0f240760b76b4d1ed5a470c38f6.zip
tk-eabfa8459120e0f240760b76b4d1ed5a470c38f6.tar.gz
tk-eabfa8459120e0f240760b76b4d1ed5a470c38f6.tar.bz2
[Bug 3517448] TclKit build fails (unresolved __strtoi64)
some more tkInt.decls formatting
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc11
1 files changed, 7 insertions, 4 deletions
diff --git a/win/rules.vc b/win/rules.vc
index b813668..69f9fc8 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -426,18 +426,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.