summaryrefslogtreecommitdiffstats
path: root/unix/tkAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-05-05 06:28:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-05-05 06:28:23 (GMT)
commit83cc8173133c3bc3fbc7d9899e915954bc90b4c0 (patch)
tree9d6ceb9b01552792b5d519712aed6b3b225742a8 /unix/tkAppInit.c
parentbaeb14250889c05e36c43f2f9094dc5fe70e9839 (diff)
downloadtk-83cc8173133c3bc3fbc7d9899e915954bc90b4c0.zip
tk-83cc8173133c3bc3fbc7d9899e915954bc90b4c0.tar.gz
tk-83cc8173133c3bc3fbc7d9899e915954bc90b4c0.tar.bz2
no longer depend on MODULE_SCOPE being defined
Diffstat (limited to 'unix/tkAppInit.c')
-rw-r--r--unix/tkAppInit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c
index c2cafef..e914182 100644
--- a/unix/tkAppInit.c
+++ b/unix/tkAppInit.c
@@ -31,6 +31,9 @@ extern Tcl_PackageInitProc Tktest_Init;
#ifndef TK_LOCAL_APPINIT
#define TK_LOCAL_APPINIT Tcl_AppInit
#endif
+#ifndef MODULE_SCOPE
+# define MODULE_SCOPE extern
+#endif
MODULE_SCOPE int TK_LOCAL_APPINIT(Tcl_Interp *);
MODULE_SCOPE int main(int, char **);