diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tk.h | 8 | ||||
-rw-r--r-- | generic/tkWindow.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/generic/tk.h b/generic/tk.h index 7c686a3..0614866 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -22,6 +22,14 @@ #endif #ifndef _ANSI_ARGS_ +# ifndef NO_PROTOTYPES +# define _ANSI_ARGS_(x) x +# else +# define _ANSI_ARGS_(x) () +# endif +#endif + +#ifndef _ANSI_ARGS_ # ifndef NO_PROTOTYPES # define _ANSI_ARGS_(x) x # else diff --git a/generic/tkWindow.c b/generic/tkWindow.c index ac69455..929136d 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -3275,9 +3275,11 @@ Initialize( Tcl_SetMainLoop(Tk_MainLoop); +/* #undef Tk_InitStubs Tk_InitStubs(interp, TK_VERSION, 1); +*/ /* * Initialized the themed widget set |