diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-13 09:07:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-13 09:07:58 (GMT) |
commit | fe00b6dcf66b299d9ea42fa1f9a7282c6475159c (patch) | |
tree | 6974d6bc309be19a48263ecff0e2f619045bc8a3 /win/tclAppInit.c | |
parent | ceb95678742fb22d8afc60bb462511af63c2dc2b (diff) | |
parent | 81e7623b785648f4b7c7ffdd8f1647c876bd4c45 (diff) | |
download | tcl-fe00b6dcf66b299d9ea42fa1f9a7282c6475159c.zip tcl-fe00b6dcf66b299d9ea42fa1f9a7282c6475159c.tar.gz tcl-fe00b6dcf66b299d9ea42fa1f9a7282c6475159c.tar.bz2 |
Merge 8.6 Eliminate some (correct but actually harmless) warnings only happening on win64
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 59c21e5..de5f788 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; } |