summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-05-05 06:26:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-05-05 06:26:50 (GMT)
commit76f0e86699eb95b37863d57c7915dec2f180aa5b (patch)
tree3bf719dededb9c83a04fec20483dc4bd5cd62a59 /unix/tclAppInit.c
parent19116759e64449669cf7b7e9e6fdebdae5f0071f (diff)
downloadtcl-76f0e86699eb95b37863d57c7915dec2f180aa5b.zip
tcl-76f0e86699eb95b37863d57c7915dec2f180aa5b.tar.gz
tcl-76f0e86699eb95b37863d57c7915dec2f180aa5b.tar.bz2
no longer depend on MODULE_SCOPE being defined
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c3
1 files changed, 3 insertions, 0 deletions
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 **);