summaryrefslogtreecommitdiffstats
path: root/win/rules-ext.vc
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-12-26 03:30:22 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-12-26 03:30:22 (GMT)
commit82cd662f00327eb89fa2951c3f343112b6150e36 (patch)
treede9461c938e6b302add11cb6f85fc25194a34ac5 /win/rules-ext.vc
parentf2f7b85f8842e6ba235d539e1d3d53a2a83f549e (diff)
downloadtcl-82cd662f00327eb89fa2951c3f343112b6150e36.zip
tcl-82cd662f00327eb89fa2951c3f343112b6150e36.tar.gz
tcl-82cd662f00327eb89fa2951c3f343112b6150e36.tar.bz2
Safer to compare TCLDIR against "" rather than ifdef as recursive nmakes
can pass TCLDIR as defined but with an empty value.
Diffstat (limited to 'win/rules-ext.vc')
-rw-r--r--win/rules-ext.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules-ext.vc b/win/rules-ext.vc
index 58c70fa..531e070 100644
--- a/win/rules-ext.vc
+++ b/win/rules-ext.vc
@@ -35,7 +35,7 @@ macro to the name of the project makefile.
!endif
# First locate the Tcl directory that we are working with.
-!ifdef TCLDIR
+!if "$(TCLDIR)" != ""
_RULESDIR = $(TCLDIR:/=\)