diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-16 16:36:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-16 16:36:02 (GMT) |
commit | 7aa855f962a06be0007a47a5330934a4fa4b110a (patch) | |
tree | d13f31daedbd4424b0fc9425c9005224c1dff605 /win/tclAppInit.c | |
parent | fa55caf92ab61f36a76de13fb7d7bd1f4f05e3e1 (diff) | |
parent | f0f85b5e6e04d87653d2ca6249cdec7c31bab382 (diff) | |
download | tcl-7aa855f962a06be0007a47a5330934a4fa4b110a.zip tcl-7aa855f962a06be0007a47a5330934a4fa4b110a.tar.gz tcl-7aa855f962a06be0007a47a5330934a4fa4b110a.tar.bz2 |
Merge trunk
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r-- | win/tclAppInit.c | 4 |
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; } |