From 76f0e86699eb95b37863d57c7915dec2f180aa5b Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 5 May 2011 06:26:50 +0000 Subject: no longer depend on MODULE_SCOPE being defined --- unix/tclAppInit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index 0d2a6c4..159bbd8 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -35,6 +35,9 @@ extern int Tclxttest_Init(Tcl_Interp *interp); #ifndef TCL_LOCAL_APPINIT #define TCL_LOCAL_APPINIT Tcl_AppInit #endif +#ifndef MODULE_SCOPE +# define MODULE_SCOPE extern +#endif MODULE_SCOPE int TCL_LOCAL_APPINIT(Tcl_Interp *); MODULE_SCOPE int main(int, char **); -- cgit v0.12