From 635e02b568dbc69eb71a94ff3be6113422dff6e0 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 9 Oct 2023 18:24:20 +0000 Subject: Update rules.vc --- win/rules.vc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win/rules.vc b/win/rules.vc index 3a95aab..bca056c 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -1530,6 +1530,10 @@ INCLUDES = $(INCLUDES) -I"$(GENERICDIR)" -I"$(WIN_DIR)" -I"$(COMPATDIR)" # cflags contains generic flags used for building practically all object files cflags = -nologo -c $(COMPILERFLAGS) $(carch) $(cwarn) -Fp$(TMP_DIR)^\ $(cdebug) +!if $(TCL_MAJOR_VERSION) == 8 && $(TCL_MINOR_VERSION) < 7 +cflags = $(cflags) -DTcl_Size=int +!endif + # appcflags contains $(cflags) and flags for building the application # object files (e.g. tclsh, or wish) pkgcflags contains $(cflags) plus # flags used for building shared object files The two differ in the -- cgit v0.12