From 7b465e4732fc0771f3cc42ceb19add6a7c58ecc6 Mon Sep 17 00:00:00 2001 From: escoffon Date: Tue, 4 Aug 1998 11:48:17 +0000 Subject: EXPORT is now TCL_STORAGE_CLASS --- generic/tclMain.c | 4 ++-- 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 -- cgit v0.12