diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-13 19:43:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-13 19:43:32 (GMT) |
commit | beb2fa12050651e1be1a182fd1a7c814aa8e283c (patch) | |
tree | 78227fd3657cf8a82ed5472f08c9041bd53b48df /win/rules.vc | |
parent | 2b6251c4c824d5477da8fa35609508dde84084f7 (diff) | |
parent | 1b47e77e7e06f634d2c9d7014d344d3de110ba7c (diff) | |
download | tk-beb2fa12050651e1be1a182fd1a7c814aa8e283c.zip tk-beb2fa12050651e1be1a182fd1a7c814aa8e283c.tar.gz tk-beb2fa12050651e1be1a182fd1a7c814aa8e283c.tar.bz2 |
[Bug 3517448] TclKit build fails (unresolved __strtoi64)
Diffstat (limited to 'win/rules.vc')
-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 01e44e0..f2ee135 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -473,18 +473,21 @@ OPTDEFINES = $(OPTDEFINES) -DSTATIC_BUILD OPTDEFINES = $(OPTDEFINES) -DTCL_NO_DEPRECATED !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 #---------------------------------------------------------- # Locate the Tcl headers to build against |