Artifact
041f3c977a21c91b8b19970b89082397528e073b:
Attachment "tcloo.patch" to
ticket [3010352fff]
added by
jan.nijtmans
2014-05-02 09:12:53.
Index: generic/tcl.h
==================================================================
--- generic/tcl.h
+++ generic/tcl.h
@@ -2431,12 +2431,18 @@
#include "tclDecls.h"
/*
* 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"
/*
*----------------------------------------------------------------------------