summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-07 14:34:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-07 14:34:16 (GMT)
commit33af30e08024b750f0d1dac56a108c622b7f9a23 (patch)
tree406f1c57f262b5fe86f1447dbef78436fd17e183 /win/tclAppInit.c
parent53d6118a090b1b452072c01b26df2bd43ee8e49b (diff)
parentf6bd13629fa5edb7707fc6adb73029c9a09b5e1f (diff)
downloadtcl-33af30e08024b750f0d1dac56a108c622b7f9a23.zip
tcl-33af30e08024b750f0d1dac56a108c622b7f9a23.tar.gz
tcl-33af30e08024b750f0d1dac56a108c622b7f9a23.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index a9fb3bd..50a9f51 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -29,7 +29,7 @@ extern Tcl_PackageInitProc Tcltest_Init;
extern Tcl_PackageInitProc Tcltest_SafeInit;
#endif /* TCL_TEST */
-#if defined(STATIC_BUILD) && defined(TCL_USE_STATIC_PACKAGES) && TCL_USE_STATIC_PACKAGES
+#if defined(STATIC_BUILD)
extern Tcl_PackageInitProc Registry_Init;
extern Tcl_PackageInitProc Dde_Init;
extern Tcl_PackageInitProc Dde_SafeInit;
@@ -164,7 +164,7 @@ Tcl_AppInit(
return TCL_ERROR;
}
-#if defined(STATIC_BUILD) && defined(TCL_USE_STATIC_PACKAGES) && TCL_USE_STATIC_PACKAGES
+#if defined(STATIC_BUILD)
if (Registry_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}