diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-07 10:31:49 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-07 10:31:49 (GMT) |
| commit | 3a03f53f1db809175b0e67ca7881a4f3bee63e7b (patch) | |
| tree | fbbbb50c014e6f66baee5024817dffd9c2007f4d /unix | |
| parent | ce1a1c9f1387df9db70689527f74c37b4c3cf7c0 (diff) | |
| parent | a01643e73b5c590d77038e45206e8ee124a75dec (diff) | |
| download | tcl-3a03f53f1db809175b0e67ca7881a4f3bee63e7b.zip tcl-3a03f53f1db809175b0e67ca7881a4f3bee63e7b.tar.gz tcl-3a03f53f1db809175b0e67ca7881a4f3bee63e7b.tar.bz2 | |
Merge 9.0
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclAppInit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index 5d41087..f3caae7 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -15,6 +15,10 @@ #undef BUILD_tcl #undef STATIC_BUILD #include "tcl.h" +#if TCL_MAJOR_VERSION < 9 && TCL_MINOR_VERSION < 7 +# define Tcl_LibraryInitProc Tcl_PackageInitProc +# define Tcl_StaticLibrary Tcl_StaticPackage +#endif #ifdef TCL_TEST extern Tcl_LibraryInitProc Tcltest_Init; @@ -79,7 +83,8 @@ main( #ifdef TCL_LOCAL_MAIN_HOOK TCL_LOCAL_MAIN_HOOK(&argc, &argv); -#else +#elif !defined(_WIN32) || defined(UNICODE) + /* This doesn't work on Windows without UNICODE */ TclZipfs_AppHook(&argc, &argv); #endif |
