diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-13 19:34:11 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-04-13 19:34:11 (GMT) |
commit | 391bbba2bedcf4ba8d34cfd85318a33c2f3cf7d6 (patch) | |
tree | 467ffe3edb3de6314f177481e0c76f04de8fe22c /win | |
parent | acc3c324fbd1465870d734faa24e973a223228b0 (diff) | |
download | tk-391bbba2bedcf4ba8d34cfd85318a33c2f3cf7d6.zip tk-391bbba2bedcf4ba8d34cfd85318a33c2f3cf7d6.tar.gz tk-391bbba2bedcf4ba8d34cfd85318a33c2f3cf7d6.tar.bz2 |
[Bug 3517448] TclKit build fails (unresolved __strtoi64)
some more tkInt.decls formatting
FossilOrigin-Name: 4139d30f55ae10d9728cf236ba0a33b159da0b21
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 11 |
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. |