summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-16 16:36:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-16 16:36:02 (GMT)
commit7aa855f962a06be0007a47a5330934a4fa4b110a (patch)
treed13f31daedbd4424b0fc9425c9005224c1dff605 /win/tclAppInit.c
parentfa55caf92ab61f36a76de13fb7d7bd1f4f05e3e1 (diff)
parentf0f85b5e6e04d87653d2ca6249cdec7c31bab382 (diff)
downloadtcl-7aa855f962a06be0007a47a5330934a4fa4b110a.zip
tcl-7aa855f962a06be0007a47a5330934a4fa4b110a.tar.gz
tcl-7aa855f962a06be0007a47a5330934a4fa4b110a.tar.bz2
Merge trunk
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 33c9785..c75c365 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) && TCL_USE_STATIC_PACKAGES
+#if defined(STATIC_BUILD) && defined(TCL_USE_STATIC_PACKAGES) && TCL_USE_STATIC_PACKAGES
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) && TCL_USE_STATIC_PACKAGES
+#if defined(STATIC_BUILD) && defined(TCL_USE_STATIC_PACKAGES) && TCL_USE_STATIC_PACKAGES
if (Registry_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}