summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-25 08:50:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-25 08:50:14 (GMT)
commit6087f4e597069ea8db9e2553044111e51d1d9af7 (patch)
tree3338964bacafc0813aa5f35c3c31a828c19ba863 /win
parent92edc472a1abd75778ac145e2856a6ff39754db3 (diff)
downloadtk-6087f4e597069ea8db9e2553044111e51d1d9af7.zip
tk-6087f4e597069ea8db9e2553044111e51d1d9af7.tar.gz
tk-6087f4e597069ea8db9e2553044111e51d1d9af7.tar.bz2
Fix bug in rules.vc (handle TK_MAJOR_VERSION the same as TCL_MAJOR_VERSION)
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 89a72ce..0dd6ef2 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -707,7 +707,7 @@ LINKERFLAGS = $(LINKERFLAGS) -ltcg
!if defined(_TK_H)
!if [echo TK_MAJOR_VERSION = \>> versions.vc] \
- && [nmakehlp -V $(_TK_H) TK_MAJOR_VERSION >> versions.vc]
+ && [nmakehlp -V $(_TK_H) "define TK_MAJOR_VERSION" >> versions.vc]
!endif
!if [echo TK_MINOR_VERSION = \>> versions.vc] \
&& [nmakehlp -V $(_TK_H) TK_MINOR_VERSION >> versions.vc]