From 108aafca8776741d650fca8440a5331bd8188a98 Mon Sep 17 00:00:00 2001 From: escoffon Date: Wed, 29 Jul 1998 12:46:15 +0000 Subject: set EXPORT to DLLEXPORT unconditionally, since the declaration of Registry_Init is inside the source file. --- win/tclWinReg.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/win/tclWinReg.c b/win/tclWinReg.c index 3054e53..7d7a377 100644 --- a/win/tclWinReg.c +++ b/win/tclWinReg.c @@ -21,6 +21,14 @@ #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 + */ +#undef EXPORT +#define EXPORT DLLEXPORT + +/* * VC++ has an alternate entry point called DllMain, so we need to rename * our entry point. */ -- cgit v0.12