summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2014-05-02 15:35:14 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2014-05-02 15:35:14 (GMT)
commitcbf59e525308085a72e73f5a56470e15f20fea10 (patch)
treead0d97445e7b8e5a6e8074bdbda084676dff6f4f /generic/tcl.h
parent96851e03b34600e2c3db61efc3af6520b2e7942c (diff)
downloadtcl-cbf59e525308085a72e73f5a56470e15f20fea10.zip
tcl-cbf59e525308085a72e73f5a56470e15f20fea10.tar.gz
tcl-cbf59e525308085a72e73f5a56470e15f20fea10.tar.bz2
Re-apply [3010352], bringing back the symbol exports of shared libraries as it was in 8.6.0/8.6.1.
FossilOrigin-Name: 32a6915d8abfffa3eecf5f0eb027167c4a334032
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index b93b3ac..e557290 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2433,9 +2433,15 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr);
/*
* Include platform specific public function declarations that are accessible
- * via the stubs table.
+ * via the stubs table. Make all TclOO symbols MODULE_SCOPE (which only
+ * has effect on building it as a shared library). See ticket [3010352].
*/
+#if defined(BUILD_tcl)
+# undef TCLAPI
+# define TCLAPI MODULE_SCOPE
+#endif
+
#include "tclPlatDecls.h"
/*