diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-13 19:34:11 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-13 19:34:11 (GMT) |
commit | eabfa8459120e0f240760b76b4d1ed5a470c38f6 (patch) | |
tree | 467ffe3edb3de6314f177481e0c76f04de8fe22c /win/rules.vc | |
parent | 6277e860f7524b5c08850590e14e542afa6f6490 (diff) | |
download | tk-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/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 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. |