summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-07 10:19:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-07 10:19:46 (GMT)
commit886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc (patch)
treea1673d9cd9ab3c0d3472fa86eaae6bfae568e33c /unix/tclAppInit.c
parent8ffd9ec61e651bc933eb844c13a99927543bf8f4 (diff)
downloadtcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.zip
tcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.tar.gz
tcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.tar.bz2
Add some (temporary) test cases showing the problem with --export-dynamic
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 0d2a6c4..910a233 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -154,6 +154,14 @@ Tcl_AppInit(
return TCL_OK;
}
+
+#ifdef TCL_TEST
+# undef TCL_STORAGE_CLASS
+# define TCL_STORAGE_CLASS DLLEXPORT
+EXTERN const char *Tcltest_Foo() {
+ return "I'm in tclAppInit.c";
+}
+#endif /* TCL_TEST */
/*
* Local Variables: