summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-09 18:24:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-09 18:24:20 (GMT)
commit635e02b568dbc69eb71a94ff3be6113422dff6e0 (patch)
tree54965c73fe2626364768a9185f728b5527ad0318 /win
parentd3bc39b312a859e514b2a851e2fe411b5e434049 (diff)
downloadtcl-635e02b568dbc69eb71a94ff3be6113422dff6e0.zip
tcl-635e02b568dbc69eb71a94ff3be6113422dff6e0.tar.gz
tcl-635e02b568dbc69eb71a94ff3be6113422dff6e0.tar.bz2
Update rules.vc
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc4
1 files changed, 4 insertions, 0 deletions
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