diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2022-08-07 10:11:42 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2022-08-07 10:11:42 (GMT) |
| commit | b4eda6649fc4011ca9c9693ee8752f1ba2c24437 (patch) | |
| tree | 2e24c92be3d98892b11ec7185535c18569803c3c /unix/tclUnixInit.c | |
| parent | 7754129cabaa2aa7f6a487106c0551d0c5f2c2d3 (diff) | |
| download | tcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.zip tcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.tar.gz tcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.tar.bz2 | |
Remove code that was ifdef'ed out
Diffstat (limited to 'unix/tclUnixInit.c')
| -rw-r--r-- | unix/tclUnixInit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index cb74630..148caa0 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -863,8 +863,8 @@ TclpSetVariables( Tcl_SetVar2(interp, "tcl_pkgPath", NULL, pkgPath, TCL_GLOBAL_ONLY); } -#ifndef TCL_TILDE_EXPAND { + /* Some platforms build configure scripts expect ~ expansion so do that */ Tcl_Obj *origPaths; Tcl_Obj *resolvedPaths; origPaths = Tcl_GetVar2Ex(interp, "tcl_pkgPath", NULL, TCL_GLOBAL_ONLY); @@ -874,7 +874,6 @@ TclpSetVariables( resolvedPaths, TCL_GLOBAL_ONLY); } } -#endif #ifdef DJGPP Tcl_SetVar2(interp, "tcl_platform", "platform", "dos", TCL_GLOBAL_ONLY); |
