summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 14:26:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 14:26:14 (GMT)
commit0ea8daaec8aab6fdebacaf71b35869d1e810bffa (patch)
tree9f2b69b4c252d2bb335f62e8bc06852ede0fc109 /win/rules.vc
parenta96dae7f0f22970833799aa44043355ece05f3d4 (diff)
downloadtcl-0ea8daaec8aab6fdebacaf71b35869d1e810bffa.zip
tcl-0ea8daaec8aab6fdebacaf71b35869d1e810bffa.tar.gz
tcl-0ea8daaec8aab6fdebacaf71b35869d1e810bffa.tar.bz2
slightly stricter checking for TCL_MAJOR_VERSION in rules.vc
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 47c0742..db65ce7 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -693,7 +693,7 @@ LINKERFLAGS = $(LINKERFLAGS) -ltcg
!if [echo REM = This file is generated from rules.vc > versions.vc]
!endif
!if [echo TCL_MAJOR_VERSION = \>> versions.vc] \
- && [nmakehlp -V "$(_TCL_H)" TCL_MAJOR_VERSION >> versions.vc]
+ && [nmakehlp -V "$(_TCL_H)" "define TCL_MAJOR_VERSION" >> versions.vc]
!endif
!if [echo TCL_MINOR_VERSION = \>> versions.vc] \
&& [nmakehlp -V "$(_TCL_H)" TCL_MINOR_VERSION >> versions.vc]