diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-05-02 15:35:14 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-05-02 15:35:14 (GMT) |
| commit | b4605992f1427c003e55bebb74946bd1717514cb (patch) | |
| tree | f1ad431b2dab0e40a7b5e55af09f5e213a219c61 | |
| parent | 4552e30353de62e0d5c62bce249e026a0e5a2905 (diff) | |
| download | tcl-b4605992f1427c003e55bebb74946bd1717514cb.zip tcl-b4605992f1427c003e55bebb74946bd1717514cb.tar.gz tcl-b4605992f1427c003e55bebb74946bd1717514cb.tar.bz2 | |
Re-apply [3010352], bringing back the symbol exports of shared libraries as it was in 8.6.0/8.6.1.
| -rw-r--r-- | generic/tcl.h | 8 |
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" /* |
