diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-13 08:48:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-13 08:48:22 (GMT) |
commit | 81e7623b785648f4b7c7ffdd8f1647c876bd4c45 (patch) | |
tree | cadf23dc3fb988611e6da535f0fca23de27e2274 /win | |
parent | 579cd0b138b020f90e65e83e6bd9f27d473211b1 (diff) | |
download | tcl-81e7623b785648f4b7c7ffdd8f1647c876bd4c45.zip tcl-81e7623b785648f4b7c7ffdd8f1647c876bd4c45.tar.gz tcl-81e7623b785648f4b7c7ffdd8f1647c876bd4c45.tar.bz2 |
Fix warning, doing a static build on Windows
Diffstat (limited to 'win')
-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 171edff..f78f788 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; @@ -159,7 +159,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; } |