Index: win/rules.vc =================================================================== diff -u -rc7abd01585e06664f9925485f2c1a5d6a2dbdabb -rccc0e58c0aa5a545fbc1efe2063b621878c0fcb9 --- win/rules.vc (.../rules.vc) (revision c7abd01585e06664f9925485f2c1a5d6a2dbdabb) +++ win/rules.vc (.../rules.vc) (revision ccc0e58c0aa5a545fbc1efe2063b621878c0fcb9) @@ -433,7 +433,7 @@ # Set our defines now armed with our options. #---------------------------------------------------------- -OPTDEFINES = -DTCL_CFGVAL_ENCODING=$(CFG_ENCODING) -DSTDC_HEADERS +OPTDEFINES = -DTCL_CFGVAL_ENCODING=$(CFG_ENCODING) -DSTDC_HEADERS -D !if $(TCL_MEM_DEBUG) OPTDEFINES = $(OPTDEFINES) -DTCL_MEM_DEBUG @@ -464,6 +464,10 @@ OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_DO64BIT !endif +# See also http://core.tcl.tk/tclconfig/tktview?name=ab69a602bf +!if $(VCVERSION) > 1300 +OPTDEFINES = $(OPTDEFINES) -DHAVE_UINTPTR_T -DHAVE_INTPTR_T +!endif #---------------------------------------------------------- # Get common info used when building extensions.