diff options
| -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"  /* | 
