diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-18 11:56:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-18 11:56:23 (GMT) |
commit | 004fe2d35203d7d11d592e8808c83f8a04dfeb31 (patch) | |
tree | 205b18d8409c76f046212d0bc0457ec465dead68 /unix/tclAppInit.c | |
parent | b0dd51b115eda106d6dd034f4867d446d28f4e1c (diff) | |
download | tcl-004fe2d35203d7d11d592e8808c83f8a04dfeb31.zip tcl-004fe2d35203d7d11d592e8808c83f8a04dfeb31.tar.gz tcl-004fe2d35203d7d11d592e8808c83f8a04dfeb31.tar.bz2 |
Updste stdlib.h (add missing functions). Restructure tclAppInit.c
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r-- | unix/tclAppInit.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index 3f69f45..51a4cb5 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -12,13 +12,15 @@ * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ -#if defined(BUILD_tcl) || defined(USE_TCL_STUBS) -#error "Don't build with BUILD_tcl/USE_TCL_STUBS!" -#endif #include "tcl.h" -#if TCL_MAJOR_VERSION < 9 && TCL_MINOR_VERSION < 7 +#if TCL_MAJOR_VERSION < 9 +# if defined(BUILD_tcl) || defined(USE_TCL_STUBS) +# error "Don't build with BUILD_tcl/USE_TCL_STUBS!" +# endif +# if TCL_MINOR_VERSION < 7 # define Tcl_LibraryInitProc Tcl_PackageInitProc # define Tcl_StaticLibrary Tcl_StaticPackage +# endif #endif #ifdef TCL_TEST |