diff options
-rw-r--r-- | generic/tclMain.c | 4 | ||||
-rw-r--r-- | win/tclWinReg.c | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 15a4e0f..a18e11c 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -15,8 +15,8 @@ #include "tcl.h" #include "tclInt.h" -# undef EXPORT -# define EXPORT DLLEXPORT +# undef TCL_STORAGE_CLASS +# define TCL_STORAGE_CLASS DLLEXPORT /* * The following code ensures that tclLink.c is linked whenever diff --git a/win/tclWinReg.c b/win/tclWinReg.c index 7d7a377..97b2f19 100644 --- a/win/tclWinReg.c +++ b/win/tclWinReg.c @@ -21,12 +21,13 @@ #undef WIN32_LEAN_AND_MEAN /* - * EXPORT is set unconditionally to DLLEXPORT because the Registry_Init - * declaration is in the source file itself, which is only accessed when - * we are building a library + * TCL_STORAGE_CLASS is set unconditionally to DLLEXPORT because the + * Registry_Init declaration is in the source file itself, which is only + * accessed when we are building a library. */ -#undef EXPORT -#define EXPORT DLLEXPORT + +#undef TCL_STORAGE_CLASS +#define TCL_STORAGE_CLASS DLLEXPORT /* * VC++ has an alternate entry point called DllMain, so we need to rename |