diff options
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r-- | win/tclWinReg.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 |