summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-05-05 06:26:50 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-05-05 06:26:50 (GMT)
commit2952d80c5d460a44b365543f479fb3acc2c3f9e0 (patch)
tree3bf719dededb9c83a04fec20483dc4bd5cd62a59 /unix/tclAppInit.c
parent2554551cb52703a150daa1dfcc3b75423d980299 (diff)
downloadtcl-2952d80c5d460a44b365543f479fb3acc2c3f9e0.zip
tcl-2952d80c5d460a44b365543f479fb3acc2c3f9e0.tar.gz
tcl-2952d80c5d460a44b365543f479fb3acc2c3f9e0.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 **);