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