summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-09 18:51:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-09 18:51:35 (GMT)
commit6dc845a468d697d47b07caeeda4ea8fd4cdb0bb4 (patch)
treeb38b379166f1e93564b9a19165cfd632702b4068 /win
parent2ba45cf70b4fd8bbc3ce8b53d698fcfc36fe5403 (diff)
downloadtk-6dc845a468d697d47b07caeeda4ea8fd4cdb0bb4.zip
tk-6dc845a468d697d47b07caeeda4ea8fd4cdb0bb4.tar.gz
tk-6dc845a468d697d47b07caeeda4ea8fd4cdb0bb4.tar.bz2
Update win/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