diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-13 22:18:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-13 22:18:46 (GMT) |
commit | ba718c26090c3d742694dc7a033b1ea9b0820e0d (patch) | |
tree | 7f54d6c3eeccc704c03a0f4268c7119408f2baca | |
parent | bd36f63f8d6cf4129fd3af94e276b4ad9987562e (diff) | |
download | tcl-ba718c26090c3d742694dc7a033b1ea9b0820e0d.zip tcl-ba718c26090c3d742694dc7a033b1ea9b0820e0d.tar.gz tcl-ba718c26090c3d742694dc7a033b1ea9b0820e0d.tar.bz2 |
sync win/rules.vc with Tk version
-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 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. |