X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tclmain.c;h=d426d1c0b7650f3984fe34052c32890d6de0548e;hb=2d42edd809ab188892914d042ab1e9b27a89d1b1;hp=7239aed55da88db0d7c4be4217eb6b077f025178;hpb=d446a56fc51edc47a986b8a7e6c0b7c90065a431;p=ir-tcl-moved-to-github.git diff --git a/tclmain.c b/tclmain.c index 7239aed..d426d1c 100644 --- a/tclmain.c +++ b/tclmain.c @@ -5,7 +5,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: tclmain.c,v $ - * Revision 1.19 1996-08-20 09:27:49 adam + * Revision 1.21 2000-02-22 23:11:03 adam + * Fixed include statements. + * + * Revision 1.20 1997/04/30 07:26:08 adam + * Added support for shared libaries (if supported by Tcl itself). + * + * Revision 1.19 1996/08/20 09:27:49 adam * More work on explain. * Renamed tkinit.c to tkmain.c. The tcl shell uses the Tcl 7.5 interface * for socket i/o instead of the handcrafted one (for Tcl 7.3 and Tcl7.4). @@ -22,7 +28,7 @@ #include #include -#include +#include #include "ir-tcl.h" int Tcl_AppInit (Tcl_Interp *interp) @@ -39,6 +45,7 @@ int Tcl_AppInit (Tcl_Interp *interp) } #if TCL_MAJOR_VERSION > 7 || (TCL_MAJOR_VERSION == 7 && TCL_MINOR_VERSION > 4) +/* new version of tcl: version > 7.4 */ extern int matherr (); int *tclDummyMathPtr = (int*) matherr; @@ -49,6 +56,8 @@ int main (int argc, char **argv) } #else +/* old version of tcl: version <= 7.4 */ + static char *fileName = NULL; extern int main (); int *tclDummyMainPtr = (int*) main;